You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Florian Schilling (JIRA)" <ji...@apache.org> on 2013/02/11 17:51:12 UTC
[jira] [Updated] (LUCENE-4770) GeoShape intersects filter omitted
matching docs
[ https://issues.apache.org/jira/browse/LUCENE-4770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Florian Schilling updated LUCENE-4770:
--------------------------------------
Attachment: LUCENE-4770.patch
This patch fixes the {{SpatialPrefixTree#recursiveGetNodes}} method and adds two tests for the edge cases. The first test is included at {{SpatialPrefixTreeTest#testEdgeCases}} and tests an rectangular query on a rectangular shaped area. The second test in located at {{JtsPolygonTest#testEdgeCases}} and tests an rectangular query on a polygonal shaped area.
> GeoShape intersects filter omitted matching docs
> ------------------------------------------------
>
> Key: LUCENE-4770
> URL: https://issues.apache.org/jira/browse/LUCENE-4770
> Project: Lucene - Core
> Issue Type: Bug
> Components: modules/spatial
> Affects Versions: 4.0, 4.1
> Reporter: Florian Schilling
> Fix For: 4.2, 5.0
>
> Attachments: LUCENE-4770.patch
>
>
> SpatialPrefixTree#recursiveGetNodes uses an optimization that prevents
> recursion into the deepest tree level if a parent node in the penultimate
> level covers all its children. This produces a bug if the optimization
> happens both at indexing and at query/filter time.
> [Original post|https://github.com/elasticsearch/elasticsearch/issues/2626]
--
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