Class DisjointSpatialFilter
A Spatial Filter implementing IsDisjointTo in terms of a SpatialStrategy's support for Intersects. A document is considered disjoint if it has spatial data that does not intersect with the query shape. Another way of looking at this is that it's a way to invert a query shape.
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Inherited Members
Lucene.Net.Search.Filter.NewAnonymous(Func<, , >)
Namespace: Lucene.Net.Spatial
Assembly: Lucene.Net.Spatial.dll
Syntax
public class DisjointSpatialFilter : Filter
Constructors
| Improve this Doc View SourceDisjointSpatialFilter(SpatialStrategy, SpatialArgs, String)
Declaration
public DisjointSpatialFilter(SpatialStrategy strategy, SpatialArgs args, string field)
Parameters
Type | Name | Description |
---|---|---|
SpatialStrategy | strategy | Needed to compute intersects |
SpatialArgs | args | Used in spatial intersection |
System.String | field | This field is used to determine which docs have spatial data via
|
Methods
| Improve this Doc View SourceEquals(Object)
Declaration
public override bool Equals(object o)
Parameters
Type | Name | Description |
---|---|---|
System.Object | o |
Returns
Type | Description |
---|---|
System.Boolean |
GetDocIdSet(AtomicReaderContext, IBits)
Declaration
public override DocIdSet GetDocIdSet(AtomicReaderContext context, IBits acceptDocs)
Parameters
Type | Name | Description |
---|---|---|
AtomicReaderContext | context | |
IBits | acceptDocs |
Returns
Type | Description |
---|---|
DocIdSet |
Overrides
| Improve this Doc View SourceGetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |