DotLucene 1.4 API Documentation |

# RangeQuery Constructor

Constructs a query selecting all terms greater than `lowerTerm` but less than `upperTerm`. There must be at least one term and either term may be null, in which case there is no bound on that side, but if there are two terms, both terms must be for the same Field.

public RangeQuery(
Term lowerTerm,
Term upperTerm,
bool inclusive
);

#### See Also

RangeQuery Class | Lucene.Net.Search Namespace