Class ValueSourceFilter
Lucene.Net.Search.Filter that matches all documents where a Lucene.Net.Queries.Function.ValueSource is in between a range of Min and Max inclusive.
Note
This API is for internal purposes only and might change in incompatible ways in the next release.
Inheritance
System.Object
Lucene.Net.Search.Filter
ValueSourceFilter
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Spatial.Util
Assembly: Lucene.Net.Spatial.dll
Syntax
public class ValueSourceFilter : Filter
Constructors
| Improve this Doc View SourceValueSourceFilter(Filter, ValueSource, Double, Double)
Declaration
public ValueSourceFilter(Filter startingFilter, ValueSource source, double min, double max)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Search.Filter | startingFilter | |
Lucene.Net.Queries.Function.ValueSource | source | |
System.Double | min | |
System.Double | max |
Properties
| Improve this Doc View SourceMax
Declaration
public double Max { get; }
Property Value
Type | Description |
---|---|
System.Double |
Min
Declaration
public double Min { get; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
| Improve this Doc View SourceGetDocIdSet(AtomicReaderContext, IBits)
Declaration
public override DocIdSet GetDocIdSet(AtomicReaderContext context, IBits acceptDocs)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Index.AtomicReaderContext | context | |
Lucene.Net.Util.IBits | acceptDocs |
Returns
Type | Description |
---|---|
Lucene.Net.Search.DocIdSet |
Overrides
Lucene.Net.Search.Filter.GetDocIdSet(Lucene.Net.Index.AtomicReaderContext, Lucene.Net.Util.IBits)