DOC_VALUES_REWRITE

A rewrite method that uses org.gnit.lucenekmp.index.DocValuesType.SORTED / doc values to find matching docs through a post-filtering type approach. This will be very slow if used in isolation, but will likely be the most performant option when combined with a sparse query clause. All matching docs are assigned a constant score equal to the query's boost.

If you don't have doc values indexed, see the other rewrite methods that rely on postings alone (e.g., .CONSTANT_SCORE_BLENDED_REWRITE, .SCORING_BOOLEAN_REWRITE, etc. depending on scoring needs).