Class SpatialDocMaker

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class SpatialDocMaker
    extends DocMaker
    Indexes spatial data according to a configured SpatialStrategy with optional shape transformation via a configured SpatialDocMaker.ShapeConverter. The converter can turn points into circles and bounding boxes, in order to vary the type of indexing performance tests. Unless it's subclass-ed to do otherwise, this class configures a SpatialContext, SpatialPrefixTree, and RecursivePrefixTreeStrategy. The Strategy is made available to a query maker via the static method getSpatialStrategy(int). See spatial.alg for a listing of spatial parameters, in particular those starting with "spatial." and "doc.spatial".