org.apache.lucene.document
public class SetBasedFieldSelector extends Object implements FieldSelector
| Constructor Summary | |
|---|---|
| SetBasedFieldSelector(Set fieldsToLoad, Set lazyFieldsToLoad) | |
| Method Summary | |
|---|---|
| FieldSelectorResult | accept(String fieldName)
Indicate whether to load the field with the given name or not. |
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
fieldsToLoad and lazyFieldsToLoad, lazy has precedence.
Parameters: fieldName The Field name to check
Returns: The FieldSelectorResult