Package org.apache.lucene.sandbox.search
Class PhraseWildcardQuery.TestCounters
java.lang.Object
org.apache.lucene.sandbox.search.PhraseWildcardQuery.TestCounters
- Enclosing class:
PhraseWildcardQuery
Test counters incremented when assertions are enabled. Used only when testing.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected longprotected longprotected longprotected longprotected longprotected long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidclear()protected static PhraseWildcardQuery.TestCountersget()protected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected boolean
-
Field Details
-
singleTermAnalysisCount
protected long singleTermAnalysisCount -
multiTermAnalysisCount
protected long multiTermAnalysisCount -
expansionCount
protected long expansionCount -
segmentUseCount
protected long segmentUseCount -
segmentSkipCount
protected long segmentSkipCount -
queryEarlyStopCount
protected long queryEarlyStopCount
-
-
Constructor Details
-
TestCounters
protected TestCounters()
-
-
Method Details
-
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()
-