Apache Lucene.Net 2.4.0 Class Library API

FieldInfos.AddIndexed Method 

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

public void AddIndexed(
   ICollection names,
   bool storeTermVectors,
   bool storePositionWithTermVector,
   bool storeOffsetWithTermVector
);

Parameters

names
The names of the fields
storeTermVectors
Whether the fields store term vectors or not
storePositionWithTermVector
treu if positions should be stored.
storeOffsetWithTermVector
true if offsets should be stored

See Also

FieldInfos Class | Lucene.Net.Index Namespace