You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2013/06/17 23:50:19 UTC

[jira] [Updated] (LUCENE-5062) Spatial CONTAINS is sometimes incorrect for overlapped indexed shapes

     [ https://issues.apache.org/jira/browse/LUCENE-5062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Smiley updated LUCENE-5062:
---------------------------------

    Attachment: LUCENE-5062_Spatial_CONTAINS_with_overlapping_shapes.patch

The attached patch corrects this problem. I left the former behavior as a boolean flag performance optimization, since if you don't have indexed data triggering this problem then there's no point in the extra overhead of checking for it at runtime.  I doubt it's much but nonetheless it was easy to add.
                
> Spatial CONTAINS is sometimes incorrect for overlapped indexed shapes
> ---------------------------------------------------------------------
>
>                 Key: LUCENE-5062
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5062
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/spatial
>    Affects Versions: 4.3
>            Reporter: David Smiley
>            Assignee: David Smiley
>         Attachments: LUCENE-5062_Spatial_CONTAINS_with_overlapping_shapes.patch
>
>
> If the spatial data for a document is comprised of multiple overlapping or adjacent parts, it _might_ fail to match a query shape when doing the CONTAINS predicate when the sum of those shapes contain the query shape but none do individually.

--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org