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 GetDocIdSet(AtomicReaderContext, 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
AbstractVisitingPrefixTreeFilter
Inherited Members
Lucene.Net.Search.Filter.NewAnonymous(Func<, , >)
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
public AbstractVisitingPrefixTreeFilter(IShape queryShape, string fieldName, SpatialPrefixTree grid, int detailLevel, int prefixGridScanLevel)
Parameters
Type | Name | Description |
---|---|---|
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 |