A Filter that restricts search results to a range of values in a given
field.
This filter matches the documents looking for terms that fall into the
supplied range according to {@link String#compareTo(String)}. It is not intended
for numerical ranges, use {@link NumericRangeFilter} instead.
If you construct a large number of range filters with different ranges but on the
same field, {@link FieldCacheRangeFilter} may have significantly better performance.
Namespace: Lucene.Net.SearchAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
[SerializableAttribute] public class TermRangeFilter : MultiTermQueryWrapperFilter |
Visual Basic |
---|
<SerializableAttribute> _ Public Class TermRangeFilter _ Inherits MultiTermQueryWrapperFilter |
Visual C++ |
---|
[SerializableAttribute] public ref class TermRangeFilter : public MultiTermQueryWrapperFilter |
Inheritance Hierarchy
System..::..Object
Lucene.Net.Search..::..Filter
Lucene.Net.Search..::..MultiTermQueryWrapperFilter
Lucene.Net.Search..::..TermRangeFilter
Lucene.Net.Search..::..Filter
Lucene.Net.Search..::..MultiTermQueryWrapperFilter
Lucene.Net.Search..::..TermRangeFilter