consumeTermsMatching

open fun consumeTermsMatching(query: Query, field: String, automaton: () -> ByteRunAutomaton)

Called by leaf queries that match on a class of terms.

Parameters

query

the leaf query.

field

the field queried against.

automaton

a supplier (lambda) for an automaton defining which terms match.