Class IntersectsPrefixTreeFilter
A Filter matching documents that have an Spatial4n.Shapes.SpatialRelation.INTERSECTS (i.e. not DISTINCT) relationship with a provided query shape.
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
IntersectsPrefixTreeFilter
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Spatial.Prefix
Assembly: Lucene.Net.Spatial.dll
Syntax
public class IntersectsPrefixTreeFilter : AbstractVisitingPrefixTreeFilter
Constructors
| Improve this Doc View SourceIntersectsPrefixTreeFilter(IShape, String, SpatialPrefixTree, Int32, Int32, Boolean)
Declaration
public IntersectsPrefixTreeFilter(IShape queryShape, string fieldName, SpatialPrefixTree grid, int detailLevel, int prefixGridScanLevel, bool hasIndexedLeaves)
Parameters
Type | Name | Description |
---|---|---|
Spatial4n.Shapes.IShape | queryShape | |
System.String | fieldName | |
SpatialPrefixTree | grid | |
System.Int32 | detailLevel | |
System.Int32 | prefixGridScanLevel | |
System.Boolean | hasIndexedLeaves |
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 |
Overrides
| 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)
Exceptions
Type | Condition |
---|---|
System.IO.IOException |
GetHashCode()
LUCENENET specific: need to override GetHashCode to prevent a compiler warning and realistically, the hash code should work similarly to Equals.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |