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.
Note
This API is experimental and might change in incompatible ways in the next release.
Inheritance
System.Object
RecursivePrefixTreeStrategy
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
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
Type |
Description |
Lucene.Net.Search.Filter |
|
Overrides
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides