Will do. Thanks for the tip!

-----Original Message-----
From: David Smiley [mailto:david.w.smi...@gmail.com]
Sent: Wednesday, June 28, 2017 8:38 AM
To: solr-user@lucene.apache.org
Subject: Re: Solr 5.5 - spatial intersects query returns results outside
of search box

No prob.

BTW you may want to investigate use of BBoxField or
RptWithGeometrySpatialField; both are also more accurate... but vanilla
RPT may be just fine (fastest).


> On Jun 28, 2017, at 11:32 AM, Leila Gonzales <l...@agiweb.org> wrote:
>
> Thanks David! I fixed the coordinates and put some error checking in
> my Solr indexing script to trap for this type of coordinate mismatch.
>
> -----Original Message-----
> From: David Smiley [mailto:david.w.smi...@gmail.com]
> Sent: Wednesday, June 28, 2017 8:21 AM
> To: solr-user@lucene.apache.org
> Subject: Re: Solr 5.5 - spatial intersects query returns results
> outside of search box
>
>
>> On Jun 27, 2017, at 3:28 AM, Leila Gonzales <l...@agiweb.org> wrote:
>>
>> {
>>
>>       "id": "5230",
>>
>>       "location_geo":
>>
>
["ENVELOPE(-75.0,-75.93972222222223,39.359722222222224,38.28972222222222)"
> ]
>>
>>     }
>
> This is an unusual rectangle.  Remember this is minX, maxX, maxY, minY.
> Thus this rectangle wraps the entire globe except for nearly a degree.
> It matches your query rectangle.

Reply via email to