Documentation of 'org.apache.lucene.document.SetBasedFieldSelector' Java class
SetBasedFieldSelector
org.apache.lucene.document

Class SetBasedFieldSelector

  • All Implemented Interfaces:
    java.io.Serializable, FieldSelector


    public class SetBasedFieldSelector
    extends java.lang.Object
    implements FieldSelector
    Declare what fields to load normally and what fields to load lazily
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      SetBasedFieldSelector(java.util.Set fieldsToLoad, java.util.Set lazyFieldsToLoad)
      Pass in the Set of Field names to load and the Set of Field names to load lazily.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      FieldSelectorResult accept(java.lang.String fieldName)
      Indicate whether to load the field with the given name or not.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SetBasedFieldSelector

        public SetBasedFieldSelector(java.util.Set fieldsToLoad,
                                     java.util.Set lazyFieldsToLoad)
        Pass in the Set of Field names to load and the Set of Field names to load lazily. If both are null, the Document will not have any Field on it.
        Parameters:
        fieldsToLoad - A Set of String field names to load. May be empty, but not null
        lazyFieldsToLoad - A Set of String field names to load lazily. May be empty, but not null

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.