[
https://issues.apache.org/jira/browse/LUCENE-6562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael McCandless updated LUCENE-6562:
---------------------------------------
Attachment: LUCENE-6562.patch
Here's one possible approach ... I save/share the single copy of the ranges via
the rewrite method. It's a little hokey and I had to change MTQCSW to pull the
terms enum from the rewrite method but it seems to work. I'm very open to
other ideas ...
Also, I changed GeoPointTermsEnum from LinkedList to ArrayList, and fixed it to
not remove the ranges as it goes :)
> GeoPointInBBoxQuery should compute ranges once, not per-segment
> ---------------------------------------------------------------
>
> Key: LUCENE-6562
> URL: https://issues.apache.org/jira/browse/LUCENE-6562
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Michael McCandless
> Assignee: Michael McCandless
> Fix For: 5.3, Trunk
>
> Attachments: LUCENE-6562.patch, LUCENE-6562.patch
>
>
> We tried to do this in the original issue, using the same shard attributes
> that FuzzyQuery did, but it's not quite working...
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]