Constructs a Term with the given field and empty text. This serves two purposes: 1) reuse of a Term with the same field. 2) pattern for a query.

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

Syntax

C#
public Term(
	string fld
)
Visual Basic
Public Sub New ( _
	fld As String _
)
Visual C++
public:
Term(
	String^ fld
)

Parameters

fld
Type: System..::..String

[Missing <param name="fld"/> documentation for "M:Lucene.Net.Index.Term.#ctor(System.String)"]

See Also