abstract class TermsCollector<DV> extends DocValuesTermsCollector<DV>
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
TermsCollector.MV |
(package private) static class |
TermsCollector.SV |
DocValuesTermsCollector.Function<R>| Modifier and Type | Field and Description |
|---|---|
(package private) BytesRefHash |
collectorTerms |
docValues| Constructor and Description |
|---|
TermsCollector(DocValuesTermsCollector.Function<DV> docValuesCall) |
| Modifier and Type | Method and Description |
|---|---|
(package private) static TermsCollector<?> |
create(java.lang.String field,
boolean multipleValuesPerDocument)
Chooses the right
TermsCollector implementation. |
BytesRefHash |
getCollectorTerms() |
ScoreMode |
scoreMode()
Indicates what features are required from the scorer.
|
binaryDocValues, doSetNextReader, sortedSetDocValuescollect, getLeafCollector, setScorerfinal BytesRefHash collectorTerms
TermsCollector(DocValuesTermsCollector.Function<DV> docValuesCall)
public BytesRefHash getCollectorTerms()
static TermsCollector<?> create(java.lang.String field, boolean multipleValuesPerDocument)
TermsCollector implementation.field - The field to collect terms formultipleValuesPerDocument - Whether the field to collect terms for has multiple values per document.TermsCollector instance