AutomatonTermsEnum
A FilteredTermsEnum that enumerates terms based upon what is accepted by a DFA.
The algorithm is such:
As long as matches are successful, keep reading sequentially.
When a match fails, skip to the next string in lexicographic order that does not enter a reject state.
The algorithm does not attempt to actually skip to the next string that is completely accepted. This is not possible when the language accepted by the FSM is not finite (i.e. * operator).
Functions
Returns the related attributes, the returned AttributeSource is shared with the delegate TermsEnum.
Returns the number of documents containing the current term. Do not call this when the enum is unpositioned. SeekStatus.END.
Return a ImpactsEnum.
Returns ordinal position for current term. This is an optional method (the codec may throw UnsupportedOperationException). Do not call this when the enum is unpositioned.
Get PostingsEnum for the current term, with control over whether freqs, positions, offsets or payloads are required. Do not call this when the enum is unpositioned. This method will not return null.
Get PostingsEnum for the current term. Do not call this when the enum is unpositioned. This method will not return null.
This enum does not support seeking!
This enum does not support seeking!
Returns the total number of occurrences of this term across all documents (the sum of the freq() for each doc that has this term). Note that, like other term measures, this measure does not take deleted documents into account.