Expert: change the value of this field. This can be used during indexing to re-use a single Field instance to improve indexing speed by avoiding GC cost of new'ing and reclaiming Field instances. Typically a single {@link Document} instance is re-used as well. This helps most on small documents.

Each Field instance should only be used once within a single {@link Document} instance. See ImproveIndexingSpeed for details.

Namespace: Lucene.Net.Documents
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public void SetValue(
	string value_Renamed
)
Visual Basic
Public Sub SetValue ( _
	value_Renamed As String _
)
Visual C++
public:
void SetValue(
	String^ value_Renamed
)

Parameters

value_Renamed
Type: System..::..String

[Missing <param name="value_Renamed"/> documentation for "M:Lucene.Net.Documents.Field.SetValue(System.String)"]

See Also