Constructs a query parser.
Namespace: Lucene.Net.QueryParsersAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public QueryParser( Version matchVersion, string f, Analyzer a ) |
Visual Basic |
---|
Public Sub New ( _ matchVersion As Version, _ f As String, _ a As Analyzer _ ) |
Visual C++ |
---|
public: QueryParser( Version^ matchVersion, String^ f, Analyzer^ a ) |
Parameters
- matchVersion
- Type: Lucene.Net.Util..::..Version
Lucene version to match. See above)
- f
- Type: System..::..String
the default field for query terms.
- a
- Type: Lucene.Net.Analysis..::..Analyzer
used to find terms in the query text.