Constructs a query parser.

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

Syntax

C#
[ObsoleteAttribute("Use QueryParser(Version, String, Analyzer) instead")]
public QueryParser(
	string f,
	Analyzer a
)
Visual Basic
<ObsoleteAttribute("Use QueryParser(Version, String, Analyzer) instead")> _
Public Sub New ( _
	f As String, _
	a As Analyzer _
)
Visual C++
[ObsoleteAttribute(L"Use QueryParser(Version, String, Analyzer) instead")]
public:
QueryParser(
	String^ f, 
	Analyzer^ a
)

Parameters

f
Type: System..::..String
the default field for query terms.
a
Type: Lucene.Net.Analysis..::..Analyzer
used to find terms in the query text.

See Also