Class ContainsPrefixTreeQuery

    • Field Detail

      • multiOverlappingIndexedShapes

        protected final boolean multiOverlappingIndexedShapes
        If the spatial data for a document is comprised of multiple overlapping or adjacent parts, it might fail to match a query shape when doing the CONTAINS predicate when the sum of those shapes contain the query shape but none do individually. Set this to false to increase performance if you don't care about that circumstance (such as if your indexed data doesn't even have such conditions). See LUCENE-5062.
    • Constructor Detail

      • ContainsPrefixTreeQuery

        public ContainsPrefixTreeQuery​(org.locationtech.spatial4j.shape.Shape queryShape,
                                       String fieldName,
                                       SpatialPrefixTree grid,
                                       int detailLevel,
                                       boolean multiOverlappingIndexedShapes)