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
Has child query forces default similarity #16550
Comments
This regression must have sneaked in during the parent/child refactoring that was part of ES 2.0... |
@gpstathis I see you already worked on tests, but I can't a pr or the actual fix. The actual fix should be easy, from the |
@martijnvg got caught up with #16594 which I stumbled across as I was creating the tests for this one. Let me take a look and see how far I can get today. |
@martijnvg that was easy indeed. |
Déjà vu of #4977 on 2.2.0. The
has_child
query seems to only use the default similarity when scoring child documents. Even the built-in non-default similarities don't seem to be picked up. See the curl statements below for reproducing. I reached out to @imotov who confirmed this issue onmaster
.No promises on a PR this time but we'll start looking into it and see how far we can get.
curl
statements for reproducing:The text was updated successfully, but these errors were encountered: