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
CopyC#
fieldsToLoad
and
CopyC#
lazyFieldsToLoad
, lazy has precedence.

Namespace: Lucene.Net.Documents
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public virtual FieldSelectorResult Accept(
	string fieldName
)
Visual Basic
Public Overridable Function Accept ( _
	fieldName As String _
) As FieldSelectorResult
Visual C++
public:
virtual FieldSelectorResult^ Accept(
	String^ fieldName
)

Parameters

fieldName
Type: System..::..String
The {@link Field} name to check

Return Value

The {@link FieldSelectorResult}

Implements

FieldSelector..::..Accept(String)

See Also