We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Hello,
I ran into on an error when trying to chain two such queries :
MyDocument.search().query( Bool(filter=Term(disabled=False)) ).query( Bool(should=[my_should_clauses], minimum_should_match="-10%") )
(where MyDocument derives from the Document class of django_elasticsearch_dsl).
The error happens here, and there actually is a TODO three lines above suggesting that this problem is known and ought to be fixed.
Is there any plan to support such a feature ?
Note: I already found two workarounds to avoid this issue :
Bool(filter=Bool(should=[my_should_clauses], minimum_should_match="-10%"))
The text was updated successfully, but these errors were encountered:
A more explicit error message is now shown, indicating that only positive integers are currently supported for minimum_should_match.
minimum_should_match
Sorry, something went wrong.
No branches or pull requests
Hello,
I ran into on an error when trying to chain two such queries :
(where MyDocument derives from the Document class of django_elasticsearch_dsl).
The error happens here, and there actually is a TODO three lines above suggesting that this problem is known and ought to be fixed.
Is there any plan to support such a feature ?
Note: I already found two workarounds to avoid this issue :
Bool(filter=Bool(should=[my_should_clauses], minimum_should_match="-10%"))
.The text was updated successfully, but these errors were encountered: