org.apache.lucene.document
Class SetBasedFieldSelector
- FieldSelector
public class SetBasedFieldSelector
Declare what fields to load normally and what fields to load lazily
SetBasedFieldSelector
public SetBasedFieldSelector(Set fieldsToLoad,
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.
fieldsToLoad
- A Set of String
field names to load. May be empty, but not nulllazyFieldsToLoad
- A Set of String
field names to load lazily. May be empty, but not null
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.