Class AbstractVisitingPrefixTreeFilter
Traverses a SpatialPrefixTree indexed field, using the template & visitor design patterns for subclasses to guide the traversal and collect matching documents.
Subclasses implement Lucene.Net.Search.Filter.GetDocIdSet(Lucene.Net.Index.AtomicReaderContext, Lucene.Net.Util.IBits) by instantiating a custom AbstractVisitingPrefixTreeFilter.VisitorTemplate subclass (i.e. an anonymous inner class) and implement the required methods.
This is a Lucene.NET INTERNAL API, use at your own risk
Inheritance
System.Object
Lucene.Net.Search.Filter
AbstractVisitingPrefixTreeFilter
Inherited Members
Lucene.Net.Search.Filter.GetDocIdSet(Lucene.Net.Index.AtomicReaderContext, Lucene.Net.Util.IBits)
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 abstract class AbstractVisitingPrefixTreeFilter : AbstractPrefixTreeFilter
Constructors
| Improve this Doc View SourceAbstractVisitingPrefixTreeFilter(IShape, String, SpatialPrefixTree, Int32, Int32)
Declaration
protected AbstractVisitingPrefixTreeFilter(IShape queryShape, string fieldName, SpatialPrefixTree grid, int detailLevel, int prefixGridScanLevel)
Parameters
Type | Name | Description |
---|---|---|
Spatial4n.Core.Shapes.IShape | queryShape | |
System.String | fieldName | |
SpatialPrefixTree | grid | |
System.Int32 | detailLevel | |
System.Int32 | prefixGridScanLevel |
Fields
| Improve this Doc View Sourcem_prefixGridScanLevel
Declaration
protected readonly int m_prefixGridScanLevel
Field Value
Type | Description |
---|---|
System.Int32 |
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 SourceGetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |