DotLucene 1.4 API Documentation

QueryParser.Parse Method (String, String, Analyzer)

Parses a query string, returning a {@link Lucene.Net.Search.Query}.

public static Query Parse(
   string query,
   string field,
   Analyzer analyzer
);

Parameters

query
the query string to be parsed.
field
the default Field for query terms.
analyzer
used to find terms in the query text.

See Also

QueryParser Class | Lucene.Net.QueryParsers Namespace | QueryParser.Parse Overload List