[
https://issues.apache.org/jira/browse/LUCENE-1777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12738301#action_12738301
]
Michael McCandless commented on LUCENE-1777:
--------------------------------------------
{quote}
I do not agree with 2°) as filtering below 1 miles is a natural and acceptable
need.
Flooring miles not only floor boxed reseach but also filtering afterwards and
it is needed only on boxed search level.
{quote}
I'm proposing flooring only in the CartesianPolyFilterBuilder.getBoxShape, not
at the top level.
The finer filtering (LatLng & GeoHash) won't be floored.
> Error on distance query where miles < 1.0
> -----------------------------------------
>
> Key: LUCENE-1777
> URL: https://issues.apache.org/jira/browse/LUCENE-1777
> Project: Lucene - Java
> Issue Type: Bug
> Components: contrib/spatial
> Affects Versions: 2.9
> Reporter: Glen Stampoultzis
> Attachments: LUCENE-1777.patch
>
>
> If miles is under 1.0 distance query will break.
> To reproduce modify the file
> http://svn.apache.org/viewvc/lucene/java/trunk/contrib/spatial/src/test/org/apache/lucene/spatial/tier/TestCartesian.java?revision=794721
> And set the line:
> final double miles = 6.0;
> to
> final double miles = 0.5;
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]