CONSTANT_SCORE_BLENDED_REWRITE
A rewrite method where documents are assigned a constant score equal to the query's boost. Maintains a boolean query-like implementation over the most costly terms while pre-processing the less costly terms into a filter bitset. Enforces an upper-limit on the number of terms allowed in the boolean query-like implementation.
This method aims to balance the benefits of both .CONSTANT_SCORE_BOOLEAN_REWRITE and .CONSTANT_SCORE_REWRITE by enabling skipping and early termination over costly terms while limiting the overhead of a BooleanQuery with many terms. It also ensures you cannot hit org.gnit.lucenekmp.search.IndexSearcher.TooManyClauses. For some use-cases with all low cost terms, .CONSTANT_SCORE_REWRITE may be more performant. While for some use-cases with all high cost terms, .CONSTANT_SCORE_BOOLEAN_REWRITE may be better.