Package org.apache.lucene.sandbox.search
Class PhraseWildcardQuery.TermsData
- java.lang.Object
-
- org.apache.lucene.sandbox.search.PhraseWildcardQuery.TermsData
-
- Enclosing class:
- PhraseWildcardQuery
protected static class PhraseWildcardQuery.TermsData extends Object
Holds theTermStateandTermStatisticsfor all the matched and collectedTerm, for all phrase terms, for all segments.
-
-
Field Summary
Fields Modifier and Type Field Description protected intnumSegmentsprotected intnumTermsprotected intnumTermsMatchingprotected PhraseWildcardQuery.TermData[]termDataPerPositionprotected List<TermStatistics>termStatsList
-
Constructor Summary
Constructors Modifier Constructor Description protectedTermsData(int numTerms, int numSegments)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanareAllTermsMatching()protected PhraseWildcardQuery.TermDatagetOrCreateTermData(int termPosition)protected PhraseWildcardQuery.TermDatagetTermData(int termPosition)StringtoString()
-
-
-
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()
-
-