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

David Smiley updated LUCENE-5529:
---------------------------------

    Attachment: LUCENE-5529_Skip_redundant_non-point_scanned_cells.patch

In my testing this resulted in 1-3% increase on circles; it'll likely be 
greater for polygon query shapes where it's more expensive to do an 
intersection test.

The patch includes unrelated TODOs on spatial classes for things I want to get 
to in the near future. It also includes a small change to query equality 
(equals & hashcode) such that a tuning parameter isn't included because it 
doesn't change the semantics of the query.

I'll commit this Monday.

> Spatial: Small optimization searching on indexed non-point shapes
> -----------------------------------------------------------------
>
>                 Key: LUCENE-5529
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5529
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: modules/spatial
>            Reporter: David Smiley
>            Assignee: David Smiley
>            Priority: Minor
>             Fix For: 4.8
>
>         Attachments: LUCENE-5529_Skip_redundant_non-point_scanned_cells.patch
>
>
> When searching for indexed non-point shapes (such as polygons), there are 
> redundant cells which can be skipped at the bottom "detail level" of the 
> search.  This won't be a problem once LUCENE-4942 is fixed since there then 
> won't be any but it's easy to fix now.
> This affects all predicates RecursivePrefixTreeStrategy uses except Contains.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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

Reply via email to