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.
Namespace: Lucene.Net.IndexAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public void Add(
string name,
bool isIndexed,
bool storeTermVector,
bool storePositionWithTermVector,
bool storeOffsetWithTermVector,
bool omitNorms
) |
Visual Basic |
---|
Public Sub Add ( _
name As String, _
isIndexed As Boolean, _
storeTermVector As Boolean, _
storePositionWithTermVector As Boolean, _
storeOffsetWithTermVector As Boolean, _
omitNorms As Boolean _
) |
Visual C++ |
---|
public:
void Add(
String^ name,
bool isIndexed,
bool storeTermVector,
bool storePositionWithTermVector,
bool storeOffsetWithTermVector,
bool omitNorms
) |
See Also