Pass in the Set of {@link Field} names to load and the Set of {@link Field} names to load lazily. If both are null, the Document will not have any {@link Field} on it.

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

Syntax

C#
public SetBasedFieldSelector(
	Hashtable fieldsToLoad,
	Hashtable lazyFieldsToLoad
)
Visual Basic
Public Sub New ( _
	fieldsToLoad As Hashtable, _
	lazyFieldsToLoad As Hashtable _
)
Visual C++
public:
SetBasedFieldSelector(
	Hashtable^ fieldsToLoad, 
	Hashtable^ lazyFieldsToLoad
)

Parameters

fieldsToLoad
Type: System.Collections..::..Hashtable
A Set of {@link String} field names to load. May be empty, but not null
lazyFieldsToLoad
Type: System.Collections..::..Hashtable
A Set of {@link String} field names to load lazily. May be empty, but not null

See Also