lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrien Grand (JIRA)" <>
Subject [jira] [Updated] (LUCENE-7369) Remove coordination factors from scores
Date Fri, 01 Jul 2016 14:09:11 GMT


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:
>             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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message