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 VisitorTemplate subclass (i.e. an anonymous inner class) and implement the required methods.
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
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.Shapes.IShape | queryShape | |
System.String | fieldName | |
SpatialPrefixTree | grid | |
System.Int32 | detailLevel | |
System.Int32 | prefixGridScanLevel |
Properties
| Improve this Doc View SourcePrefixGridScanLevel
Declaration
public int PrefixGridScanLevel { get; }
Property Value
Type | Description |
---|---|
System.Int32 |