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
Match phrase prefix query seems to ignore boost value. #13129
Labels
>bug
good first issue
low hanging fruit
:Search/Search
Search-related issues that do not fall into other categories
Comments
Boost does seem to be ignored by the match_phrase_prefix query:
|
This is also broken in master |
javanna
added a commit
to javanna/elasticsearch
that referenced
this issue
Sep 3, 2015
The match_phrase_prefix query properly parses the boost etc. but it loses it in its rewrite method. Fixed that by setting the orginal boost to the rewritten query before returning it. Also cleaned up some warning in MultiPhrasePrefixQuery. Closes elastic#13129 Closes elastic#13142
javanna
added a commit
to javanna/elasticsearch
that referenced
this issue
Sep 3, 2015
The match_phrase_prefix query properly parses the boost etc. but it loses it in its rewrite method. Fixed that by setting the orginal boost to the rewritten query before returning it. Also cleaned up some warning in MultiPhrasePrefixQuery. Closes elastic#13129 Closes elastic#13142
javanna
added a commit
to javanna/elasticsearch
that referenced
this issue
Sep 3, 2015
The match_phrase_prefix query properly parses the boost etc. but it loses it in its rewrite method. Fixed that by setting the orginal boost to the rewritten query before returning it. Also cleaned up some warning in MultiPhrasePrefixQuery. Closes elastic#13129 Closes elastic#13142
clintongormley
added
:Search/Search
Search-related issues that do not fall into other categories
and removed
:Query DSL
labels
Feb 14, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
>bug
good first issue
low hanging fruit
:Search/Search
Search-related issues that do not fall into other categories
There seems to be no effect on score on changing boost value on match_phrase_prefix query.
My query is:
I am trying this on Elasticsearch-1.7
The text was updated successfully, but these errors were encountered: