DotLucene 1.4 API Documentation

FieldInfos.Add Method (String, Boolean, Boolean)

If the Field is not yet known, adds it. If it is known, checks to make sure that the isIndexed flag is the same as was given previously for this Field. If not - marks it as being indexed. Same goes for storeTermVector

public void Add(
   string name,
   bool isIndexed,
   bool storeTermVector
);

Parameters

name
The name of the Field
isIndexed
true if the Field is indexed
storeTermVector
true if the term vector should be stored

See Also

FieldInfos Class | Lucene.Net.Index Namespace | FieldInfos.Add Overload List