Skip to content

add percentage and threshold based minimum match functionality to BoolQParserPlugin#4406

Merged
dsmiley merged 4 commits into
apache:mainfrom
renatoh:enhance_mm_for_BoolQParser
May 14, 2026
Merged

add percentage and threshold based minimum match functionality to BoolQParserPlugin#4406
dsmiley merged 4 commits into
apache:mainfrom
renatoh:enhance_mm_for_BoolQParser

Conversation

@renatoh
Copy link
Copy Markdown
Contributor

@renatoh renatoh commented May 8, 2026

BoolQParserPlugin supported the parameter mm (minimum match) but only accepted an integer, it was not able to handle percentage and threshold based minimum match expression as we know it from the DisMaxQParser.
I added this functionality to BoolQParserPlugin by reusing the logic from DisMaxQParser

Copy link
Copy Markdown
Contributor

@dsmiley dsmiley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice; remember to tell users in the changelog

@dsmiley dsmiley merged commit 3056ce9 into apache:main May 14, 2026
4 of 5 checks passed
dsmiley pushed a commit that referenced this pull request May 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants