Class TermQueryPrefixTreeStrategy
A basic implementation of PrefixTreeStrategy using a large Lucene.Net.Queries.TermsFilter of all the cells from GetCells(IShape, Int32, Boolean, Boolean). It only supports the search of indexed Point shapes.
The precision of query shapes (DistErrPct) is an important factor in using this Strategy. If the precision is too precise then it will result in many terms which will amount to a slower query.
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 TermQueryPrefixTreeStrategy : PrefixTreeStrategy
Constructors
| Improve this Doc View SourceTermQueryPrefixTreeStrategy(SpatialPrefixTree, String)
Declaration
public TermQueryPrefixTreeStrategy(SpatialPrefixTree grid, string fieldName)
Parameters
Type | Name | Description |
---|---|---|
SpatialPrefixTree | grid | |
System.String | fieldName |
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 |