Package org.apache.lucene.search.join
Interface GenericTermsCollector
-
- All Superinterfaces:
Collector
- All Known Implementing Classes:
TermsWithScoreCollector,TermsWithScoreCollector.MV,TermsWithScoreCollector.MV.Avg,TermsWithScoreCollector.SV,TermsWithScoreCollector.SV.Avg
interface GenericTermsCollector extends Collector
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static GenericTermsCollectorcreateCollectorMV(DocValuesTermsCollector.Function<SortedSetDocValues> mvFunction, ScoreMode mode)static GenericTermsCollectorcreateCollectorSV(DocValuesTermsCollector.Function<BinaryDocValues> svFunction, ScoreMode mode)BytesRefHashgetCollectedTerms()float[]getScoresPerTerm()static DocValuesTermsCollector.Function<SortedSetDocValues>verbose(java.io.PrintStream out, DocValuesTermsCollector.Function<SortedSetDocValues> mvFunction)static GenericTermsCollectorwrap(TermsCollector<?> collector)-
Methods inherited from interface org.apache.lucene.search.Collector
getLeafCollector, scoreMode
-
-
-
-
Method Detail
-
getCollectedTerms
BytesRefHash getCollectedTerms()
-
getScoresPerTerm
float[] getScoresPerTerm()
-
createCollectorMV
static GenericTermsCollector createCollectorMV(DocValuesTermsCollector.Function<SortedSetDocValues> mvFunction, ScoreMode mode)
-
verbose
static DocValuesTermsCollector.Function<SortedSetDocValues> verbose(java.io.PrintStream out, DocValuesTermsCollector.Function<SortedSetDocValues> mvFunction)
-
createCollectorSV
static GenericTermsCollector createCollectorSV(DocValuesTermsCollector.Function<BinaryDocValues> svFunction, ScoreMode mode)
-
wrap
static GenericTermsCollector wrap(TermsCollector<?> collector)
-
-