David Smiley created LUCENE-6362:
------------------------------------

             Summary: Differentiate within/approx SpatialPrefixTree leaf cells
                 Key: LUCENE-6362
                 URL: https://issues.apache.org/jira/browse/LUCENE-6362
             Project: Lucene - Core
          Issue Type: Improvement
          Components: modules/spatial
            Reporter: David Smiley
            Assignee: David Smiley


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 
LUCENE-5579 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 LUCENE-5579 as this is really an add-on



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to