[
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: [email protected]
For additional commands, e-mail: [email protected]