[
https://issues.apache.org/jira/browse/LUCENE-7369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adrien Grand updated LUCENE-7369:
---------------------------------
Attachment: LUCENE-7369.patch
Here is a patch. Similarity.coord and BooleanQuery.Builder.setDisableCoords are
gone, which helped simplify BooleanWeight and our boolean scorers. The standard
query parser had a special node for boolean queries with configurable
disableCoord, which was only a way to handle synonyms in practice, so these
nodes have been renamed to SynonymQueryNode (they are useful so that the
default operator is not applied for boolean queries that represent synonyms). I
did not change it to keep the change minimal but in the future it should
probably switch to SynonymQuery. The rest of the patch is rather
straightforward and just removes all calls to
BooleanQuery.Builder.setDisableCoords.
> Remove coordination factors from scores
> ---------------------------------------
>
> Key: LUCENE-7369
> URL: https://issues.apache.org/jira/browse/LUCENE-7369
> Project: Lucene - Core
> Issue Type: Sub-task
> Reporter: Adrien Grand
> Assignee: Adrien Grand
> Fix For: master (7.0)
>
> Attachments: LUCENE-7369.patch
>
>
> Splitting LUCENE-7347 into smaller tasks.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]