private static class MappedMultiFields.MappedMultiTerms extends FilterLeafReader.FilterTerms
| Modifier and Type | Field and Description |
|---|---|
(package private) java.lang.String |
field |
(package private) MergeState |
mergeState |
inEMPTY_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, hasPositionsfinal MergeState mergeState
final java.lang.String field
public MappedMultiTerms(java.lang.String field,
MergeState mergeState,
MultiTerms multiTerms)
public TermsEnum iterator() throws java.io.IOException
Termsiterator in class FilterLeafReader.FilterTermsjava.io.IOExceptionpublic long size()
throws java.io.IOException
Termssize in class FilterLeafReader.FilterTermsjava.io.IOExceptionpublic long getSumTotalTermFreq()
throws java.io.IOException
TermsTermsEnum.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.FilterTermsjava.io.IOExceptionpublic long getSumDocFreq()
throws java.io.IOException
TermsTermsEnum.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.FilterTermsjava.io.IOExceptionpublic int getDocCount()
throws java.io.IOException
TermsgetDocCount in class FilterLeafReader.FilterTermsjava.io.IOException