Package org.apache.lucene.sandbox.search
Class PhraseWildcardQuery.TestCounters
- java.lang.Object
-
- org.apache.lucene.sandbox.search.PhraseWildcardQuery.TestCounters
-
- Enclosing class:
- PhraseWildcardQuery
protected static class PhraseWildcardQuery.TestCounters extends Object
Test counters incremented when assertions are enabled. Used only when testing.
-
-
Field Summary
Fields Modifier and Type Field Description protected longexpansionCountprotected longmultiTermAnalysisCountprotected longqueryEarlyStopCountprotected longsegmentSkipCountprotected longsegmentUseCountprotected longsingleTermAnalysisCount
-
Constructor Summary
Constructors Modifier Constructor Description protectedTestCounters()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidclear()protected static PhraseWildcardQuery.TestCountersget()protected booleanincExpansionCount()protected booleanincMultiTermAnalysisCount()protected booleanincQueryEarlyStopCount()protected booleanincSegmentSkipCount()protected booleanincSegmentUseCount()protected booleanincSingleTermAnalysisCount()
-
-
-
Field Detail
-
singleTermAnalysisCount
protected long singleTermAnalysisCount
-
multiTermAnalysisCount
protected long multiTermAnalysisCount
-
expansionCount
protected long expansionCount
-
segmentUseCount
protected long segmentUseCount
-
segmentSkipCount
protected long segmentSkipCount
-
queryEarlyStopCount
protected long queryEarlyStopCount
-
-
Method Detail
-
get
protected static PhraseWildcardQuery.TestCounters get()
-
incSingleTermAnalysisCount
protected boolean incSingleTermAnalysisCount()
-
incMultiTermAnalysisCount
protected boolean incMultiTermAnalysisCount()
-
incExpansionCount
protected boolean incExpansionCount()
-
incSegmentUseCount
protected boolean incSegmentUseCount()
-
incSegmentSkipCount
protected boolean incSegmentSkipCount()
-
incQueryEarlyStopCount
protected boolean incQueryEarlyStopCount()
-
clear
protected void clear()
-
-