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
-
- All Implemented Interfaces:
java.lang.Iterable<java.lang.String>
public class MappedMultiFields extends FilterLeafReader.FilterFields
AFields
implementation that merges multiple Fields into one, and maps around deleted documents. This is used for merging.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
MappedMultiFields.MappedMultiTerms
private static class
MappedMultiFields.MappedMultiTermsEnum
-
Field Summary
Fields Modifier and Type Field Description (package private) MergeState
mergeState
-
Fields inherited from class org.apache.lucene.index.FilterLeafReader.FilterFields
in
-
Fields inherited from class org.apache.lucene.index.Fields
EMPTY_ARRAY
-
-
Constructor Summary
Constructors Constructor Description MappedMultiFields(MergeState mergeState, MultiFields multiFields)
Create a new MappedMultiFields for merging, based on the supplied mergestate and merged view of terms.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Terms
terms(java.lang.String field)
Get theTerms
for this field.-
Methods inherited from class org.apache.lucene.index.FilterLeafReader.FilterFields
iterator, size
-
-
-
-
Field Detail
-
mergeState
final MergeState mergeState
-
-
Constructor Detail
-
MappedMultiFields
public MappedMultiFields(MergeState mergeState, MultiFields multiFields)
Create a new MappedMultiFields for merging, based on the supplied mergestate and merged view of terms.
-
-
Method Detail
-
terms
public Terms terms(java.lang.String field) throws java.io.IOException
Description copied from class:Fields
Get theTerms
for this field. This will return null if the field does not exist.- Overrides:
terms
in classFilterLeafReader.FilterFields
- Throws:
java.io.IOException
-
-