A Query that matches documents within an exclusive range of terms.
This query matches the documents looking for terms that fall into the supplied range according to {@link Term#CompareTo(Term)}. It is not intended for numerical ranges, use {@link NumericRangeQuery} instead.
This query uses {@linkplain MultiTermQuery#SCORING_BOOLEAN_QUERY_REWRITE}. If you want to change this, use the new {@link TermRangeQuery} instead.
Namespace: Lucene.Net.Search
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
[SerializableAttribute] [ObsoleteAttribute("Use TermRangeQuery for term ranges or NumericRangeQuery for numeric ranges instead. This class will be removed in Lucene 3.0")] public class RangeQuery : Query |
Visual Basic |
---|
<SerializableAttribute> _ <ObsoleteAttribute("Use TermRangeQuery for term ranges or NumericRangeQuery for numeric ranges instead. This class will be removed in Lucene 3.0")> _ Public Class RangeQuery _ Inherits Query |
Visual C++ |
---|
[SerializableAttribute] [ObsoleteAttribute(L"Use TermRangeQuery for term ranges or NumericRangeQuery for numeric ranges instead. This class will be removed in Lucene 3.0")] public ref class RangeQuery : public Query |