Create a stored field with binary value. Optionally the value may be compressed.

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

Syntax

C#
public Field(
	string name,
	byte[] value_Renamed,
	Field..::..Store store
)
Visual Basic
Public Sub New ( _
	name As String, _
	value_Renamed As Byte(), _
	store As Field..::..Store _
)
Visual C++
public:
Field(
	String^ name, 
	array<unsigned char>^ value_Renamed, 
	Field..::..Store^ store
)

Parameters

name
Type: System..::..String
The name of the field
value_Renamed
Type: array<System..::..Byte>[]()[][]

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

store
Type: Lucene.Net.Documents..::..Field..::..Store
How
CopyC#
value
should be stored (compressed or not)

See Also