Example usage for org.apache.lucene.spatial.prefix.tree SpatialPrefixTree getMaxLevels

List of usage examples for org.apache.lucene.spatial.prefix.tree SpatialPrefixTree getMaxLevels

Introduction

In this page you can find the example usage for org.apache.lucene.spatial.prefix.tree SpatialPrefixTree getMaxLevels.

Prototype

public int getMaxLevels() 

Source Link

Usage

From source file:org.apache.blur.analysis.type.spatial.lucene.RecursivePrefixTreeStrategy.java

License:Apache License

public RecursivePrefixTreeStrategy(SpatialPrefixTree grid, String fieldName, boolean docValue) {
    super(grid, fieldName, true, docValue);// simplify indexed cells
    prefixGridScanLevel = grid.getMaxLevels() - 4;// TODO this default constant
                                                  // is dependent on the prefix
                                                  // grid size
}