David Smiley created LUCENE-4869:
------------------------------------

             Summary: Fix the Within spatial predicate PrefixTree to remove 
false-positives
                 Key: LUCENE-4869
                 URL: https://issues.apache.org/jira/browse/LUCENE-4869
             Project: Lucene - Core
          Issue Type: Improvement
          Components: modules/spatial
            Reporter: David Smiley


LUCENE-4644 adds a useful initial capability to implement the "Within" 
predicate for a RecursivePrefixTree based field.  But it will match 
false-positives for indexed shapes comprised of multiple disjoint parts.  The 
solution to be worked out here is to index a point per disjoint part in such a 
way that it can be easily retrieved (e.g. DocValues) and then a post-process to 
WithinPrefixTreeFilter would remove false-positives.

I didn't call this a 'bug' because this addresses a known temporary limitation, 
and Within is still useful despite this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to