Apache Lucene.Net 2.4.0 Class Library API

RangeQuery Class

A Query that matches documents within an exclusive range. A RangeQuery is built by QueryParser for input like

[010 TO 120]
but only if the QueryParser has the useOldRangeQuery property set to true. The QueryParser default behaviour is to use the newer ConstantScoreRangeQuery class. This is generally preferable because:

For a list of all members of this type, see RangeQuery Members.

System.Object
   Lucene.Net.Search.Query
      Lucene.Net.Search.RangeQuery

public class RangeQuery : Query

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Requirements

Namespace: Lucene.Net.Search

Assembly: Lucene.Net (in Lucene.Net.dll)

See Also

RangeQuery Members | Lucene.Net.Search Namespace | ConstantScoreRangeQuery