java.lang.Object
org.apache.lucene.codecs.perfield.PerFieldMergeState
Utility class creating a new
MergeState
to be restricted to a set of fields.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
private static class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static MergeState
restrictFields
(MergeState in, Collection<String> fields) Create a new MergeState from the givenMergeState
instance with restricted fields.
-
Constructor Details
-
PerFieldMergeState
PerFieldMergeState()
-
-
Method Details
-
restrictFields
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
-