Package org.apache.lucene.sandbox.search
Class PhraseWildcardQuery.TermData
java.lang.Object
org.apache.lucene.sandbox.search.PhraseWildcardQuery.TermData
- Enclosing class:
PhraseWildcardQuery
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final intprotected final PhraseWildcardQuery.TermsDataprotected List<PhraseWildcardQuery.TermBytesTermState>[] -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTermData(int numSegments, PhraseWildcardQuery.TermsData termsData) -
Method Summary
Modifier and TypeMethodDescriptionprotected List<PhraseWildcardQuery.TermBytesTermState> getTermStatesForSegment(LeafReaderContext leafReaderContext) protected voidsetTermStatesForSegment(LeafReaderContext leafReaderContext, List<PhraseWildcardQuery.TermBytesTermState> termStates) Sets the collected list ofPhraseWildcardQuery.TermBytesTermStatefor the given segment.toString()
-
Field Details
-
numSegments
protected final int numSegments -
termsData
-
termStatesPerSegment
-
terms
-
-
Constructor Details
-
TermData
-
-
Method Details
-
setTermStatesForSegment
protected void setTermStatesForSegment(LeafReaderContext leafReaderContext, List<PhraseWildcardQuery.TermBytesTermState> termStates) Sets the collected list ofPhraseWildcardQuery.TermBytesTermStatefor the given segment. -
getTermStatesForSegment
protected List<PhraseWildcardQuery.TermBytesTermState> getTermStatesForSegment(LeafReaderContext leafReaderContext) - Returns:
- The collected list of
PhraseWildcardQuery.TermBytesTermStatefor the given segment; or null if this phrase term does not match in the given segment.
-
toString
-