DotLucene 1.4 API Documentation |

# FieldInfos.Add Method

Adds Field info for a Document.

#### Overload List

Adds Field info for a Document.

> public void Add(Document);

Assumes the Field is not storing term vectors

> public void Add(ICollection,bool);

Calls three parameter add with false for the storeTermVector parameter

> public void Add(string,bool);

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,bool,bool);

#### See Also

FieldInfos Class | Lucene.Net.Index Namespace