Apache Lucene.Net 2.4.0 Class Library API

FieldInfos.Add Method

Adds field info for a Document.

Overload List

Adds field info for a Document.

public void Add(Document);

 

public FieldInfo Add(FieldInfo);

 

public void Add(0, Culture=neutral, PublicKeyToken=b77a5c561934e089]],bool);

Calls 5 parameter add with false for all TermVector parameters.

public void Add(string,bool);

Calls 5 parameter add with false for term vector positions and offsets.

public void Add(string,bool,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 the TermVector parameters.

public void Add(string,bool,bool,bool,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 the TermVector parameters.

public void Add(string,bool,bool,bool,bool,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 the TermVector parameters.

public FieldInfo Add(string,bool,bool,bool,bool,bool,bool,bool);

See Also

FieldInfos Class | Lucene.Net.Index Namespace