Package org.apache.lucene.search
Class PhraseWildcardQuery.MultiTerm
- java.lang.Object
- 
- org.apache.lucene.search.PhraseWildcardQuery.PhraseTerm
- 
- org.apache.lucene.search.PhraseWildcardQuery.MultiTerm
 
 
- 
- Enclosing class:
- PhraseWildcardQuery
 
 protected static class PhraseWildcardQuery.MultiTerm extends PhraseWildcardQuery.PhraseTerm Phrase term with expansions.
- 
- 
Field SummaryFields Modifier and Type Field Description protected MultiTermQueryquery- 
Fields inherited from class org.apache.lucene.search.PhraseWildcardQuery.PhraseTermtermPosition
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedMultiTerm(MultiTermQuery query, int termPosition)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intcollectTermData(PhraseWildcardQuery query, IndexSearcher searcher, List<LeafReaderContext> segments, int remainingMultiTerms, int maxExpansionsForTerm, PhraseWildcardQuery.TermsData termsData)CollectsTermStateandTermStatisticsfor the term (potentially expanded).booleanequals(Object o)protected QuerygetQuery()protected booleanhasExpansions()inthashCode()protected voidtoString(StringBuilder builder)- 
Methods inherited from class org.apache.lucene.search.PhraseWildcardQuery.PhraseTermcollectTermData
 
- 
 
- 
- 
- 
Field Detail- 
queryprotected final MultiTermQuery query 
 
- 
 - 
Constructor Detail- 
MultiTermprotected MultiTerm(MultiTermQuery query, int termPosition) 
 
- 
 - 
Method Detail- 
hasExpansionsprotected boolean hasExpansions() - Specified by:
- hasExpansionsin class- PhraseWildcardQuery.PhraseTerm
 
 - 
getQueryprotected Query getQuery() - Specified by:
- getQueryin class- PhraseWildcardQuery.PhraseTerm
 
 - 
collectTermDataprotected int collectTermData(PhraseWildcardQuery query, IndexSearcher searcher, List<LeafReaderContext> segments, int remainingMultiTerms, int maxExpansionsForTerm, PhraseWildcardQuery.TermsData termsData) throws IOException Description copied from class:PhraseWildcardQuery.PhraseTermCollectsTermStateandTermStatisticsfor the term (potentially expanded).- Specified by:
- collectTermDatain class- PhraseWildcardQuery.PhraseTerm
- termsData-- PhraseWildcardQuery.TermsDatato update with the collected terms and stats.
- Returns:
- The number of expansions or matches in all segments; or 0 if this term does not match in any segment, in this case the phrase query can immediately stop.
- Throws:
- IOException
 
 - 
toStringprotected void toString(StringBuilder builder) - Specified by:
- toStringin class- PhraseWildcardQuery.PhraseTerm
 
 - 
equalspublic boolean equals(Object o) - Specified by:
- equalsin class- PhraseWildcardQuery.PhraseTerm
 
 - 
hashCodepublic int hashCode() - Specified by:
- hashCodein class- PhraseWildcardQuery.PhraseTerm
 
 
- 
 
-