- java.lang.Object
-
- org.apache.lucene.codecs.perfield.PerFieldMergeState
-
final class PerFieldMergeState extends java.lang.Object
Utility class creating a newMergeState
to be restricted to a set of fields.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
PerFieldMergeState.FilterFieldInfos
private static class
PerFieldMergeState.FilterFieldsProducer
-
Constructor Summary
Constructors Constructor Description PerFieldMergeState()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static MergeState
restrictFields(MergeState in, java.util.Collection<java.lang.String> fields)
Create a new MergeState from the givenMergeState
instance with restricted fields.
-
-
-
Method Detail
-
restrictFields
static MergeState restrictFields(MergeState in, java.util.Collection<java.lang.String> fields)
Create a new MergeState from the givenMergeState
instance with restricted fields.- Parameters:
fields
- The fields to keep in the new instance.- Returns:
- The new MergeState with restricted fields
-
-