Class SpatialFileQueryMaker

  • All Implemented Interfaces:

    public class SpatialFileQueryMaker
    extends AbstractQueryMaker
    Reads spatial data from the body field docs from an internally created LineDocSource. It's parsed by SpatialContext.readShapeFromWkt(String) (String)} and then further manipulated via a configurable SpatialDocMaker.ShapeConverter. When using point data, it's likely you'll want to configure the shape converter so that the query shapes actually cover a region. The queries are all created and cached in advance. This query maker works in conjunction with SpatialDocMaker. See spatial.alg for a listing of options, in particular the options starting with "query.".