Lucene.Net 1.4.3 Class Library

QueryParser.GetRangeQuery Method (String, Analyzer, String, String, Boolean)

Note that parameter analyzer is ignored. Calls inside the parser always use class member analyser. This method will be deprecated and substituted by {@link #GetRangeQuery(String, String, String, boolean)} in future versions of Lucene. Currently overwriting either of these methods works.

protected internal virtual Query GetRangeQuery(
   string field,
   Analyzer analyzer,
   string part1,
   string part2,
   bool inclusive
);

Exceptions

Exception Type Condition
ParseException throw in overridden method to disallow

See Also

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