18 using Lucene.Net.Search;
19 using Lucene.Net.Spatial.Prefix.Tree;
20 using Lucene.Net.Spatial.Queries;
21 using Spatial4n.Core.Shapes;
23 namespace Lucene.Net.Spatial.Prefix
30 private int prefixGridScanLevel;
33 : base(grid, fieldName)
38 public void SetPrefixGridScanLevel(
int prefixGridScanLevel)
41 this.prefixGridScanLevel = prefixGridScanLevel;
44 public override Filter MakeFilter(SpatialArgs args)
46 var op = args.Operation;
50 Shape shape = args.Shape;
52 int detailLevel = grid.GetLevelForDistance(args.ResolveDistErr(ctx, distErrPct));
57 public override string ToString()
59 return GetType().Name +
"(prefixGridScanLevel:" + prefixGridScanLevel +
",SPG:(" + grid +
"))";