Package org.apache.lucene.search
Class PhraseWildcardQuery.TermsData
- java.lang.Object
-
- org.apache.lucene.search.PhraseWildcardQuery.TermsData
-
- Enclosing class:
- PhraseWildcardQuery
protected static class PhraseWildcardQuery.TermsData extends Object
Holds theTermState
andTermStatistics
for all the matched and collectedTerm
, for all phrase terms, for all segments.
-
-
Field Summary
Fields Modifier and Type Field Description protected int
numSegments
protected int
numTerms
protected int
numTermsMatching
protected PhraseWildcardQuery.TermData[]
termDataPerPosition
protected List<TermStatistics>
termStatsList
-
Constructor Summary
Constructors Modifier Constructor Description protected
TermsData(int numTerms, int numSegments)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
areAllTermsMatching()
protected PhraseWildcardQuery.TermData
getOrCreateTermData(int termPosition)
protected PhraseWildcardQuery.TermData
getTermData(int termPosition)
String
toString()
-
-
-
Field Detail
-
numTerms
protected final int numTerms
-
numSegments
protected final int numSegments
-
termStatsList
protected final List<TermStatistics> termStatsList
-
termDataPerPosition
protected final PhraseWildcardQuery.TermData[] termDataPerPosition
-
numTermsMatching
protected int numTermsMatching
-
-
Method Detail
-
getOrCreateTermData
protected PhraseWildcardQuery.TermData getOrCreateTermData(int termPosition)
-
getTermData
protected PhraseWildcardQuery.TermData getTermData(int termPosition)
-
areAllTermsMatching
protected boolean areAllTermsMatching()
-
-