New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multi_match should not enable coordination in bool query with BM25 #18944
Comments
The default similarity is still TFIDF which is referred as
This is how the |
This is why a SynonymQuery was added when defaulting to BM25 that handles this case in a more generic way for any scoring system (including classic TF/IDF):
https://issues.apache.org/jira/browse/LUCENE-6789 Please use it :) |
I am currently using 2.3.3 and planning to start experimenting with BM25 since Lucene 6.0 makes that the default. I assumed it was ready to be used in ES as well. Is that not the case? Should I wait until 5.0 especially since I use |
@clintongormley I think we can close this issue (please reopen if you disagree). The coords are a TF/IDF thing that was added as a countermeasure for terms with very high term frequency where the score constantly increases and never reaches a saturation point like in |
In 5.0 we use BM25, which means that query coordination should always be disabled. This works correctly with the
bool
query but themulti_match
query enables coordination incorrectly:Returns:
The text was updated successfully, but these errors were encountered: