-
Notifications
You must be signed in to change notification settings - Fork 688
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
Retrieve PartialMatch Only for Match Queries #2103
base: master
Are you sure you want to change the base?
Conversation
- Earlier we were returning a PartialMatch field for every hit if the query used a Disjunction Searcher underneath, this does not make sense as the PartialMatch attribute is only relevant for Match Queries
So just so we're clear here - partial_match will be set if an explicit disjunction were used and all its components did not match yes? |
|
Ok, then I disagree with your proposal here - we should be returning a partial_match when a disjunction's component doesn't match as well. |
like when the top-most query is a disjunction query ? |
Ya. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Per last conversation.
used a Disjunction Searcher. However, this behavior is incorrect, as the
PartialMatch attribute is only relevant for Match Queries.