Skip to content

Differentiate within/approx SpatialPrefixTree leaf cells [LUCENE-6362] #7423

@asfimport

Description

@asfimport

This patch enables indexed cells to be differentiated between those that are completely within the shape that was indexed, and those on the edge (intersects, not within) but reached a precision threshold. The point of this differentiation is to be used by the two-phase optimized predicates in #6641 to be able to avoid an expensive geometry check for accuracy, in more cases than it is able to without this differentiation. In particular, if the query shape is within an indexed shape, then this cell differentiation will enable a predicate to observe that without doing a geometry check.

note: patch here is moved from #6641 as this is really an add-on


Migrated from LUCENE-6362 by David Smiley (@dsmiley)
Attachments: LUCENE-6362 SPT leaf differentiate.patch
Linked issues:

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions