You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It claims that MultiMatchQuery#minimumShouldMatch:
Sets a percent value controlling how many "should" clauses in the resulting Query should match.
and that the:
Parameters
minMatch An integer between 0 and 100.
but is not the case.
Once the function is called with an integer parameter, the output JSON for that field is an integer, and not the expected percentage.
Indicates a fixed value regardless of the number of optional clauses.
Percentage
75%
Indicates that this percent of the total number of optional clauses are necessary. The number computed +from the percentage is rounded down and used as the minimum.
If my analysis is correct, the documentation could be updated, describing that it is accepted a String representing any of the minimum_should_match options
I wanted to report the following issue:
The documentation is not according with the code
It claims that MultiMatchQuery#
minimumShouldMatch
:and that the:
but is not the case.
Once the function is called with an integer parameter, the output JSON for that field is an integer, and not the expected percentage.
The api for [minimum-should-match in the es documentation](https://www.elastic.co/guide/en/elasticsearch/reference/1.4/query-dsl-minimum- +should-match.html) distinguishes the case for:
If my analysis is correct, the documentation could be updated, describing that it is accepted a String representing any of the
minimum_should_match
optionsalso reported in this fork ErwanPigneul#7
The text was updated successfully, but these errors were encountered: