newSetQuery

Create a query for matching any of a set of provided BytesRef values.

Return

a query matching documents with this exact value

Parameters

field

field name. must not be null.

values

the set of values to match

Throws

if field is null.