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
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)
Namespace: Lucene.Net.Spatial.Prefix
Assembly: Lucene.Net.Spatial.dll
Syntax
public class RecursivePrefixTreeStrategy : PrefixTreeStrategy
Constructors
| Improve this Doc View SourceRecursivePrefixTreeStrategy(SpatialPrefixTree, String)
Declaration
public RecursivePrefixTreeStrategy(SpatialPrefixTree grid, string fieldName)
Parameters
Type | Name | Description |
---|---|---|
SpatialPrefixTree | grid | |
System.String | fieldName |
Fields
| Improve this Doc View Sourcem_multiOverlappingIndexedShapes
Declaration
protected bool m_multiOverlappingIndexedShapes
Field Value
Type | Description |
---|---|
System.Boolean |
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 SourcePrefixGridScanLevel
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 SourceMakeFilter(SpatialArgs)
Declaration
public override Filter MakeFilter(SpatialArgs args)
Parameters
Type | Name | Description |
---|---|---|
SpatialArgs | args |
Returns
Type | Description |
---|---|
Lucene.Net.Search.Filter |
Overrides
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |