Assumes the fields are not storing term vectors.

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

Syntax

C#
public void Add(
	ICollection<string> names,
	bool isIndexed
)
Visual Basic
Public Sub Add ( _
	names As ICollection(Of String), _
	isIndexed As Boolean _
)
Visual C++
public:
void Add(
	ICollection<String^>^ names, 
	bool isIndexed
)

Parameters

names
Type: System.Collections.Generic..::..ICollection<(Of <(<'String>)>)>
The names of the fields
isIndexed
Type: System..::..Boolean
Whether the fields are indexed or not

See Also