Module org.apache.lucene.core
Package org.apache.lucene.index
Class MappedMultiFields.MappedMultiTerms
java.lang.Object
org.apache.lucene.index.Terms
org.apache.lucene.index.FilterLeafReader.FilterTerms
org.apache.lucene.index.MappedMultiFields.MappedMultiTerms
- Enclosing class:
MappedMultiFields
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final String(package private) final MergeStateFields inherited from class org.apache.lucene.index.FilterLeafReader.FilterTerms
inFields inherited from class org.apache.lucene.index.Terms
EMPTY_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionMappedMultiTerms(String field, MergeState mergeState, MultiTerms multiTerms) -
Method Summary
Modifier and TypeMethodDescriptionintReturns the number of documents that have at least one term for this field.longReturns the sum ofTermsEnum.docFreq()for all terms in this field.longReturns the sum ofTermsEnum.totalTermFreq()for all terms in this field.iterator()Returns an iterator that will step through all terms.longsize()Returns the number of terms for this field, or -1 if this measure isn't stored by the codec.Methods inherited from class org.apache.lucene.index.FilterLeafReader.FilterTerms
getStats, hasFreqs, hasOffsets, hasPayloads, hasPositions
-
Field Details
-
mergeState
-
field
-
-
Constructor Details
-
MappedMultiTerms
-
-
Method Details
-
iterator
Description copied from class:TermsReturns an iterator that will step through all terms. This method will not return null.- Overrides:
iteratorin classFilterLeafReader.FilterTerms- Throws:
IOException
-
size
Description copied from class:TermsReturns the number of terms for this field, or -1 if this measure isn't stored by the codec. Note that, just like other term measures, this measure does not take deleted documents into account.- Overrides:
sizein classFilterLeafReader.FilterTerms- Throws:
IOException
-
getSumTotalTermFreq
Description copied from class:TermsReturns the sum ofTermsEnum.totalTermFreq()for all terms in this field. Note that, just like other term measures, this measure does not take deleted documents into account.- Overrides:
getSumTotalTermFreqin classFilterLeafReader.FilterTerms- Throws:
IOException
-
getSumDocFreq
Description copied from class:TermsReturns the sum ofTermsEnum.docFreq()for all terms in this field. Note that, just like other term measures, this measure does not take deleted documents into account.- Overrides:
getSumDocFreqin classFilterLeafReader.FilterTerms- Throws:
IOException
-
getDocCount
Description copied from class:TermsReturns the number of documents that have at least one term for this field. Note that, just like other term measures, this measure does not take deleted documents into account.- Overrides:
getDocCountin classFilterLeafReader.FilterTerms- Throws:
IOException
-