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

Synonyms are scored more harshly when there are > 2 #33

Closed
nolanlawson opened this issue Oct 24, 2013 · 0 comments
Closed

Synonyms are scored more harshly when there are > 2 #33

nolanlawson opened this issue Oct 24, 2013 · 0 comments
Labels
Milestone

Comments

@nolanlawson
Copy link
Member

Consider the synonyms:

dog,hound,pooch

And a document containing:

dog

We would expect a query for dog, pooch, and hound to arrive at the same score, assuming synonyms.originalBoost and synonyms.synonymBoost are both set to 1.0.

However, hound and pooch are scored less than dog. Apparently this has to do with the DisjunctionMaxQuery math and the fact that there are more than two synonyms. E.g. when the synonyms are just:

dog,hound

the scores are equal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant