Class RecursivePrefixTreeStrategy
A PrefixTreeStrategy which uses AbstractVisitingPrefixTreeFilter.
This strategy has support for searching non-point shapes (note: not tested).
Even a query shape with distErrPct=0 (fully precise to the grid) should have
good performance for typical data, unless there is a lot of indexed data
coincident with the shape's edge.
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Inheritance
System.Object
RecursivePrefixTreeStrategy
Assembly: Lucene.Net.Spatial.dll
Syntax
public class RecursivePrefixTreeStrategy : PrefixTreeStrategy
Constructors
|
Improve this Doc
View Source
RecursivePrefixTreeStrategy(SpatialPrefixTree, String)
Declaration
public RecursivePrefixTreeStrategy(SpatialPrefixTree grid, string fieldName)
Parameters
Fields
|
Improve this Doc
View Source
m_multiOverlappingIndexedShapes
Declaration
protected bool m_multiOverlappingIndexedShapes
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
m_pointsOnly
True if only indexed points shall be supported. See Lucene.Net.Spatial.Prefix.IntersectsPrefixTreeFilter.hasIndexedLeaves.
Declaration
protected bool m_pointsOnly
Field Value
Type |
Description |
System.Boolean |
|
Properties
|
Improve this Doc
View Source
PrefixGridScanLevel
Sets the grid level [1-maxLevels] at which indexed terms are scanned brute-force
instead of by grid decomposition. By default this is maxLevels - 4. The
final level, maxLevels, is always scanned. Value can be 1 to maxLevels.
Declaration
public virtual int PrefixGridScanLevel { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
|
Improve this Doc
View Source
MakeFilter(SpatialArgs)
Declaration
public override Filter MakeFilter(SpatialArgs args)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides