I did. It is bugged. It has also been re worked and will be patched (this
weekend If I can) and comitted by Chris afterwards.

Code is again @GoogleCode for the moment.

Nicolas

2010/4/1 Grant Ingersoll <gsing...@apache.org>

>
> On Apr 1, 2010, at 9:09 AM, Helleringer, Nicolas wrote:
>
>
>
> 2010/4/1 Grant Ingersoll <gsing...@apache.org>
>
>>
>> No.
> The longitude has an effect because of the projection used to go from a
> spherical world to a flat coordinates system.
> See
> http://www.nsshutdown.com/projects/lucene/whitepaper/locallucene_v2.html
>  and http://en.wikipedia.org/wiki/Sinusoidal_projection
>
>
> Duh, I always forget about the projection.
>
>
> Next question:  Have you tried the CartPFilterBldr with large distance
> values?
>
> For instance, I put in distance of 5000 around a point (33.0, -80) and get
> 9 matches in my test.  Using the same point and 10000 miles, I get 5
> matches.
>
> My points are (never mind the Solr syntax):
> assertU(adoc("id", "1", fieldName, "32.7693246, -79.9289094"));
>     assertU(adoc("id", "2", fieldName, "33.7693246, -80.9289094"));
>     assertU(adoc("id", "3", fieldName, "-32.7693246, 50.9289094"));
>     assertU(adoc("id", "4", fieldName, "-50.7693246, 60.9289094"));
>     assertU(adoc("id", "5", fieldName, "0,0"));
>     assertU(adoc("id", "6", fieldName, "0.1,0.1"));
>     assertU(adoc("id", "7", fieldName, "-0.1,-0.1"));
>     assertU(adoc("id", "8", fieldName, "0,179.9"));
>     assertU(adoc("id", "9", fieldName, "0,-179.9"));
>     assertU(adoc("id", "10", fieldName, "89.9,50"));
>     assertU(adoc("id", "11", fieldName, "89.9,-130"));
>
> At any rate, I'm debugging.
>

Reply via email to