Create a cached int field source with a specific string-to-int parser.

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

Syntax

C#
public IntFieldSource(
	string field,
	IntParser parser
)
Visual Basic
Public Sub New ( _
	field As String, _
	parser As IntParser _
)
Visual C++
public:
IntFieldSource(
	String^ field, 
	IntParser^ parser
)

Parameters

field
Type: System..::..String

[Missing <param name="field"/> documentation for "M:Lucene.Net.Search.Function.IntFieldSource.#ctor(System.String,Lucene.Net.Search.IntParser)"]

parser
Type: Lucene.Net.Search..::..IntParser

[Missing <param name="parser"/> documentation for "M:Lucene.Net.Search.Function.IntFieldSource.#ctor(System.String,Lucene.Net.Search.IntParser)"]

See Also