Skip to content
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

full support for minimum_should_match #940

Merged
merged 1 commit into from Dec 30, 2023

Conversation

KaniuBillows
Copy link
Contributor

ElasticSearch support a very flexible way to use minimum_should_match.

Bluge supports the minimum_should_match but must be a integer.、

A match query is split by the tokenization into multiple term queries, and these subqueries are where minimum_should_match should work. We can calculate the correct min value from the tokenization result and minimum_should_match expression, and then pass it to bluge.

@hengfeiyang hengfeiyang merged commit 677235b into zincsearch:main Dec 30, 2023
1 check passed
@KaniuBillows KaniuBillows deleted the support_min_should branch December 30, 2023 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants