newSlowExactQuery

fun newSlowExactQuery(field: String, value: BytesRef): Query

Create a query for matching an exact BytesRef value.

NOTE: Such queries cannot efficiently advance to the next match, which makes them slow if they are not ANDed with a selective query. As a consequence, they are best used wrapped in an IndexOrDocValuesQuery, alongside a range query that executes on points, such as BinaryPoint.newExactQuery.