Method Intersect
Intersect(CompiledAutomaton, BytesRef)
Returns a TermsEnum that iterates over all terms that
are accepted by the provided
CompiledAutomaton. If the startTerm
is
provided then the returned enum will only accept terms
startTerm
, but you still must call Next() first to get to the first term. Note that the providedstartTerm
must be accepted by the automaton.
NOTE: the returned TermsEnum cannot seek
.Declaration
public virtual TermsEnum Intersect(CompiledAutomaton compiled, BytesRef startTerm)
Parameters
Type | Name | Description |
---|---|---|
CompiledAutomaton | compiled | |
BytesRef | startTerm |
Returns
Type | Description |
---|---|
TermsEnum |