Add fields that are indexed. Whether they have termvectors has to be specified.

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

Syntax

C#
public void AddIndexed(
	ICollection names,
	bool storeTermVectors,
	bool storePositionWithTermVector,
	bool storeOffsetWithTermVector
)
Visual Basic
Public Sub AddIndexed ( _
	names As ICollection, _
	storeTermVectors As Boolean, _
	storePositionWithTermVector As Boolean, _
	storeOffsetWithTermVector As Boolean _
)
Visual C++
public:
void AddIndexed(
	ICollection^ names, 
	bool storeTermVectors, 
	bool storePositionWithTermVector, 
	bool storeOffsetWithTermVector
)

Parameters

names
Type: System.Collections..::..ICollection
The names of the fields
storeTermVectors
Type: System..::..Boolean
Whether the fields store term vectors or not
storePositionWithTermVector
Type: System..::..Boolean
true if positions should be stored.
storeOffsetWithTermVector
Type: System..::..Boolean
true if offsets should be stored

See Also