term

Return an IntervalsSource exposing intervals for a term


fun term(term: String, payloadFilter: (BytesRef?) -> Boolean): IntervalsSource
fun term(term: BytesRef, payloadFilter: (BytesRef?) -> Boolean): IntervalsSource

Return an IntervalsSource exposing intervals for a term, filtered by the value of the term's payload at each position