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 classprivate static class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static MergeStaterestrictFields(MergeState in, Collection<String> fields) Create a new MergeState from the givenMergeStateinstance with restricted fields.
-
Constructor Details
-
PerFieldMergeState
PerFieldMergeState()
-
-
Method Details
-
restrictFields
Create a new MergeState from the givenMergeStateinstance with restricted fields.- Parameters:
fields- The fields to keep in the new instance.- Returns:
- The new MergeState with restricted fields
-