Skip to content
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

Add warnings to similarities that may return 0 as a score. #29015

Closed
jpountz opened this issue Mar 13, 2018 · 2 comments
Closed

Add warnings to similarities that may return 0 as a score. #29015

jpountz opened this issue Mar 13, 2018 · 2 comments
Labels
>docs General docs changes help wanted adoptme :Search/Search Search-related issues that do not fall into other categories

Comments

@jpountz
Copy link
Contributor

jpountz commented Mar 13, 2018

Some similarities may return scores that are equal to zero in some conditions. We should probably add warnings to the docs about such similarities as this is usually impractical in practice since having matches on terms that contribute 0 to the score doesn't make such documents rank higher as is usually expected.

  • AxiomaticF3Log
  • AxiomaticF3Exp
  • DFISimilarity
  • LMDirichletSimilarity
@jpountz jpountz added >docs General docs changes help wanted adoptme :Search/Search Search-related issues that do not fall into other categories labels Mar 13, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search-aggs

jpountz added a commit to jpountz/elasticsearch that referenced this issue Mar 15, 2018
This adds links to the relevant Lucene javadocs and warnings regarding
similarities that might return 0 as a score.

Close elastic#29015
@jpountz
Copy link
Contributor Author

jpountz commented Mar 15, 2018

Actually the axiomatic similarities are not exposed.

jpountz added a commit that referenced this issue Mar 21, 2018
This adds links to the relevant Lucene javadocs and warnings regarding
similarities that might return 0 as a score.

Close #29015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>docs General docs changes help wanted adoptme :Search/Search Search-related issues that do not fall into other categories
Projects
None yet
Development

No branches or pull requests

2 participants