Apache Lucene.Net 2.1 Class Library API

QueryParser.SetUseOldRangeQuery Method 

By default QueryParser uses new ConstantScoreRangeQuery in preference to RangeQuery for range queries. This implementation is generally preferable because it a) Runs faster b) Does not have the scarcity of range terms unduly influence score c) avoids any "TooManyBooleanClauses" exception. However, if your application really needs to use the old-fashioned RangeQuery and the above points are not required then set this option to

true
Default is
false
.

public virtual void SetUseOldRangeQuery(
   bool useOldRangeQuery
);

See Also

QueryParser Class | Lucene.Net.QueryParsers Namespace