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
Inherited Members
Namespace: Lucene.Net.Spatial.Prefix
Assembly: Lucene.Net.Spatial.dll
Syntax
public class IntersectsPrefixTreeFilter : AbstractVisitingPrefixTreeFilter
  Constructors
IntersectsPrefixTreeFilter(IShape, string, SpatialPrefixTree, int, int, bool)
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.
Declaration
public IntersectsPrefixTreeFilter(IShape queryShape, string fieldName, SpatialPrefixTree grid, int detailLevel, int prefixGridScanLevel, bool hasIndexedLeaves)
  Parameters
| Type | Name | Description | 
|---|---|---|
| IShape | queryShape | |
| string | fieldName | |
| SpatialPrefixTree | grid | |
| int | detailLevel | |
| int | prefixGridScanLevel | |
| bool | hasIndexedLeaves | 
Methods
Equals(object?)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object? o)
  Parameters
| Type | Name | Description | 
|---|---|---|
| object | o | 
Returns
| Type | Description | 
|---|---|
| bool | true if the specified object is equal to the current object; otherwise, false.  | 
      
Overrides
GetDocIdSet(AtomicReaderContext, IBits)
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.
Declaration
public override DocIdSet? GetDocIdSet(AtomicReaderContext context, IBits acceptDocs)
  Parameters
| Type | Name | Description | 
|---|---|---|
| AtomicReaderContext | context | |
| IBits | acceptDocs | 
Returns
| Type | Description | 
|---|---|
| DocIdSet | 
Overrides
Exceptions
| Type | Condition | 
|---|---|
| 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 | 
|---|---|
| int |