private static class MappedMultiFields.MappedMultiTerms extends FilterLeafReader.FilterTerms
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.String |
field |
(package private) MergeState |
mergeState |
in
EMPTY_ARRAY
Constructor and Description |
---|
MappedMultiTerms(java.lang.String field,
MergeState mergeState,
MultiTerms multiTerms) |
Modifier and Type | Method and Description |
---|---|
int |
getDocCount()
Returns the number of documents that have at least one
term for this field.
|
long |
getSumDocFreq()
Returns the sum of
TermsEnum.docFreq() for
all terms in this field. |
long |
getSumTotalTermFreq()
Returns the sum of
TermsEnum.totalTermFreq() for
all terms in this field. |
TermsEnum |
iterator()
Returns an iterator that will step through all
terms.
|
long |
size()
Returns the number of terms for this field, or -1 if this
measure isn't stored by the codec.
|
getStats, hasFreqs, hasOffsets, hasPayloads, hasPositions
final MergeState mergeState
final java.lang.String field
public MappedMultiTerms(java.lang.String field, MergeState mergeState, MultiTerms multiTerms)
public TermsEnum iterator() throws java.io.IOException
Terms
iterator
in class FilterLeafReader.FilterTerms
java.io.IOException
public long size() throws java.io.IOException
Terms
size
in class FilterLeafReader.FilterTerms
java.io.IOException
public long getSumTotalTermFreq() throws java.io.IOException
Terms
TermsEnum.totalTermFreq()
for
all terms in this field. Note that, just like other term
measures, this measure does not take deleted documents
into account.getSumTotalTermFreq
in class FilterLeafReader.FilterTerms
java.io.IOException
public long getSumDocFreq() throws java.io.IOException
Terms
TermsEnum.docFreq()
for
all terms in this field. Note that, just like other term
measures, this measure does not take deleted documents
into account.getSumDocFreq
in class FilterLeafReader.FilterTerms
java.io.IOException
public int getDocCount() throws java.io.IOException
Terms
getDocCount
in class FilterLeafReader.FilterTerms
java.io.IOException