Apache Lucene.Net 2.4.0 Class Library API

SetBasedFieldSelector.Accept Method 

Indicate whether to load the field with the given name or not. If the {@link Field#Name()} is not in either of the initializing Sets, then {@link Lucene.Net.Documents.FieldSelectorResult#NO_LOAD} is returned. If a Field name is in both

fieldsToLoad
and
lazyFieldsToLoad
, lazy has precedence.

public virtual FieldSelectorResult Accept(
   string fieldName
);

Parameters

fieldName
The {@link Field} name to check

Return Value

The {@link FieldSelectorResult}

Implements

FieldSelector.Accept

See Also

SetBasedFieldSelector Class | Lucene.Net.Documents Namespace