-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
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: