protected static class PhraseWildcardQuery.MultiTerm extends PhraseWildcardQuery.PhraseTerm
Modifier and Type | Field and Description |
---|---|
protected MultiTermQuery |
query |
termPosition
Modifier | Constructor and Description |
---|---|
protected |
MultiTerm(MultiTermQuery query,
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). |
boolean |
equals(Object o) |
protected Query |
getQuery() |
protected boolean |
hasExpansions() |
int |
hashCode() |
protected void |
toString(StringBuilder builder) |
collectTermData
protected final MultiTermQuery query
protected MultiTerm(MultiTermQuery query, int termPosition)
protected boolean hasExpansions()
hasExpansions
in class PhraseWildcardQuery.PhraseTerm
protected Query getQuery()
getQuery
in class PhraseWildcardQuery.PhraseTerm
protected int collectTermData(PhraseWildcardQuery query, IndexSearcher searcher, List<LeafReaderContext> segments, int remainingMultiTerms, int maxExpansionsForTerm, PhraseWildcardQuery.TermsData termsData) throws IOException
PhraseWildcardQuery.PhraseTerm
TermState
and TermStatistics
for the term (potentially expanded).collectTermData
in class PhraseWildcardQuery.PhraseTerm
termsData
- PhraseWildcardQuery.TermsData
to update with the collected terms and stats.IOException
protected void toString(StringBuilder builder)
toString
in class PhraseWildcardQuery.PhraseTerm
public boolean equals(Object o)
equals
in class PhraseWildcardQuery.PhraseTerm
public int hashCode()
hashCode
in class PhraseWildcardQuery.PhraseTerm
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.