Add advanced, conditional syntax to set the minimum number of should clauses required to match for boolean predicates in the DSL

Description

Follow-up on HSEARCH-3197.

On top of the simple syntax introduced in HSEARCH-3197, we would allow users to define the number of "should" clauses required to match conditionally, based on the total number of should clauses. For example something we want to be able to express is "if there are 2 clauses or less, require all clauses to match; if there are more, require 90% to match".

Environment

None

Status

Assignee

Yoann Rodière

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Fix versions

Priority

Major
Configure