protected static class PhraseWildcardQuery.SingleTerm extends PhraseWildcardQuery.PhraseTerm
| Modifier and Type | Field and Description | 
|---|---|
protected Term | 
term  | 
termPosition| Modifier | Constructor and Description | 
|---|---|
protected  | 
SingleTerm(Term term,
          int termPosition)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected int | 
collectTermData(PhraseWildcardQuery query,
               IndexSearcher searcher,
               List<LeafReaderContext> segments,
               int remainingMultiTerms,
               int maxExpansionsForTerm,
               PhraseWildcardQuery.TermsData termsData)
Collects  
TermState and TermStatistics for the term (potentially expanded). | 
protected int | 
collectTermData(PhraseWildcardQuery query,
               IndexSearcher searcher,
               List<LeafReaderContext> segments,
               PhraseWildcardQuery.TermsData termsData)
Collects  
TermState and TermStatistics for the term without expansion. | 
boolean | 
equals(Object o)  | 
protected Query | 
getQuery()  | 
protected boolean | 
hasExpansions()  | 
int | 
hashCode()  | 
protected void | 
toString(StringBuilder builder)  | 
protected final Term term
protected SingleTerm(Term term, int termPosition)
protected boolean hasExpansions()
hasExpansions in class PhraseWildcardQuery.PhraseTermprotected Query getQuery()
getQuery in class PhraseWildcardQuery.PhraseTermprotected int collectTermData(PhraseWildcardQuery query, IndexSearcher searcher, List<LeafReaderContext> segments, PhraseWildcardQuery.TermsData termsData) throws IOException
PhraseWildcardQuery.PhraseTermTermState and TermStatistics for the term without expansion.
 It must be called only if PhraseWildcardQuery.PhraseTerm.hasExpansions() returns false.
 Simplified version of #collectTermData(PhraseWildcardQuery, IndexSearcher, List, int, int, TermsData)
 with less arguments. This method throws UnsupportedOperationException if not overridden.collectTermData in class PhraseWildcardQuery.PhraseTermIOExceptionprotected int collectTermData(PhraseWildcardQuery query, IndexSearcher searcher, List<LeafReaderContext> segments, int remainingMultiTerms, int maxExpansionsForTerm, PhraseWildcardQuery.TermsData termsData) throws IOException
PhraseWildcardQuery.PhraseTermTermState and TermStatistics for the term (potentially expanded).collectTermData in class PhraseWildcardQuery.PhraseTermtermsData - PhraseWildcardQuery.TermsData to update with the collected terms and stats.IOExceptionprotected void toString(StringBuilder builder)
toString in class PhraseWildcardQuery.PhraseTermpublic boolean equals(Object o)
equals in class PhraseWildcardQuery.PhraseTermpublic int hashCode()
hashCode in class PhraseWildcardQuery.PhraseTermCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.