[
https://issues.apache.org/jira/browse/LUCENE-4644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Smiley updated LUCENE-4644:
---------------------------------
Attachment:
LUCENE-4644_Spatial_Within_predicate_for_RecursivePrefixTree.patch
Attached is a patch implementing #1 & #2 from before. By default you get #1
behavior (slow but correct results), and if you want #2 (configurable buffer)
you need to construct the WithinPrefixTreeFilter yourself. I'll leave #3 to
LUCENE-4869 and update its title & description a little.
I added tests for this too, including an explicit test for an indexed shape of
multiple disjoint parts far away to ensure that a Within query encompassing
only one of those parts is not considered a match.
[~ryantxu], can you please examine the patch, especially my API (javadocs
etc.)? I'd like to get this committed once you're satisfied.
> Implement spatial WITHIN query for RecursivePrefixTree
> ------------------------------------------------------
>
> Key: LUCENE-4644
> URL: https://issues.apache.org/jira/browse/LUCENE-4644
> Project: Lucene - Core
> Issue Type: New Feature
> Components: modules/spatial
> Reporter: David Smiley
> Assignee: David Smiley
> Attachments:
> LUCENE-4644_Spatial_Within_predicate_for_RecursivePrefixTree.patch,
> LUCENE-4644_Spatial_Within_predicate_for_RecursivePrefixTree.patch
>
>
--
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]