We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
According to the ElasticSearch documentation, minimum_should_match is supported on all match queries, but does not appear to be supported in NEST.
minimum_should_match
match
It seems like I should be able to write something like:
return query.Match(match => match .OnField("_all") .Query(keywords) .MinimumShouldMatch("2<80%") );
But of course I cannot... the last line isn't in the API for MatchQueryDescriptor<T>.
MatchQueryDescriptor<T>
Shouldn't it be part of that API? Is there some other way to add minimum_should_match to the query?
(P.S. I know it's supported by the NEST API in Boolean and Query String clauses, but that doesn't help me here.)
The text was updated successfully, but these errors were encountered:
a398f0e
added unit test for minimum_should_match on match queries #741
4b7a425
I believe this should be added for the Simple Query String as well: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-simple-query-string-query.html
Sorry, something went wrong.
Damn, I've been struggling with this for a day why isn't this on the issue list? MinimumShouldMatch is clearly still not working in NEST.
@vikingland2018 MinimumShouldMatch is implemented on the following queries in NEST 5.x and 6.x:
MinimumShouldMatch
What issue are you having with it?
No branches or pull requests
According to the ElasticSearch documentation,
minimum_should_match
is supported on allmatch
queries, but does not appear to be supported in NEST.It seems like I should be able to write something like:
But of course I cannot... the last line isn't in the API for
MatchQueryDescriptor<T>
.Shouldn't it be part of that API? Is there some other way to add
minimum_should_match
to the query?(P.S. I know it's supported by the NEST API in Boolean and Query String clauses, but that doesn't help me here.)
The text was updated successfully, but these errors were encountered: