C# Class Lucene.Net.Spatial.DisjointSpatialFilter

A Spatial Filter implementing SpatialOperation.IsDisjointTo in terms of a SpatialStrategy's support for SpatialOperation.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. @lucene.experimental
Inheritance: Lucene.Net.Search.Filter
显示文件 Open project: apache/lucenenet

Public Methods

Method Description
DisjointSpatialFilter ( SpatialStrategy strategy, SpatialArgs args, string field ) : Lucene.Net.Index
Equals ( object o ) : bool
GetDocIdSet ( Lucene.Net.Index.AtomicReaderContext context, Bits acceptDocs ) : Lucene.Net.Search.DocIdSet
GetHashCode ( ) : int

Method Details

DisjointSpatialFilter() public method

public DisjointSpatialFilter ( SpatialStrategy strategy, SpatialArgs args, string field ) : Lucene.Net.Index
strategy SpatialStrategy Needed to compute intersects
args Lucene.Net.Spatial.Queries.SpatialArgs Used in spatial intersection
field string /// This field is used to determine which docs have spatial data via /// . /// Passing null will assume all docs have spatial data. ///
return Lucene.Net.Index

Equals() public method

public Equals ( object o ) : bool
o object
return bool

GetDocIdSet() public method

public GetDocIdSet ( Lucene.Net.Index.AtomicReaderContext context, Bits acceptDocs ) : Lucene.Net.Search.DocIdSet
context Lucene.Net.Index.AtomicReaderContext
acceptDocs Bits
return Lucene.Net.Search.DocIdSet

GetHashCode() public method

public GetHashCode ( ) : int
return int