Skip to content

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

Open
renatoh wants to merge 1 commit intoapache:mainfrom
renatoh:enhance_mm_for_BoolQParser
Open

add percentage and threshold based minimum match functionality to BoolQParserPlugin#4406
renatoh wants to merge 1 commit intoapache: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

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