Package org.apache.lucene.index
Class MappedMultiFields
java.lang.Object
org.apache.lucene.index.Fields
org.apache.lucene.index.FilterLeafReader.FilterFields
org.apache.lucene.index.MappedMultiFields
A
Fields implementation that merges multiple Fields into one, and maps around deleted
documents. This is used for merging.- NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
-
Field Summary
Fields inherited from class org.apache.lucene.index.FilterLeafReader.FilterFields
inFields inherited from class org.apache.lucene.index.Fields
EMPTY_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionMappedMultiFields(MergeState mergeState, MultiFields multiFields) Create a new MappedMultiFields for merging, based on the supplied mergestate and merged view of terms. -
Method Summary
Methods inherited from class org.apache.lucene.index.FilterLeafReader.FilterFields
iterator, sizeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
MappedMultiFields
Create a new MappedMultiFields for merging, based on the supplied mergestate and merged view of terms.
-
-
Method Details
-
terms
Description copied from class:FieldsGet theTermsfor this field. This will return null if the field does not exist.- Overrides:
termsin classFilterLeafReader.FilterFields- Throws:
IOException
-