Constructor QueryParser
QueryParser(LuceneVersion, String, Analyzer)
Constructs a query parser.
Declaration
public QueryParser(LuceneVersion matchVersion, string f, Analyzer a)
Parameters
Type | Name | Description |
---|---|---|
LuceneVersion | matchVersion | Lucene version to match. |
System.String | f | the default field for query terms. |
Analyzer | a | used to find terms in the query text. |
QueryParser(ICharStream)
Constructor with user supplied ICharStream.
Declaration
protected QueryParser(ICharStream stream)
Parameters
Type | Name | Description |
---|---|---|
ICharStream | stream |
QueryParser(QueryParserTokenManager)
Constructor with generated Token Manager.
Declaration
protected QueryParser(QueryParserTokenManager tm)
Parameters
Type | Name | Description |
---|---|---|
QueryParserTokenManager | tm |