On Thu, Mar 29, 2012 at 6:44 PM, Alexandre Rocco wrote:
> Yonik,
>
> Thanks for the heads-up. That one worked.
>
> Just trying to wrap around how it would work on a real case. To test this
> one I just got the coordinates from Google Maps and searched within the pair
> of coordinates as I got them
Yonik,
Thanks for the heads-up. That one worked.
Just trying to wrap around how it would work on a real case. To test this
one I just got the coordinates from Google Maps and searched within the
pair of coordinates as I got them. Should I always check which is the lower
and upper to assemble the
On Thu, Mar 29, 2012 at 6:20 PM, Alexandre Rocco wrote:
> http://localhost:8984/solr/select?q=*:*&fq=local:[-23.6677,-46.7315 TO
> -23.6709,-46.7261]
Range queries always need to be [lower_bound TO upper_bound]
Try
http://localhost:8984/solr/select?q=*:*&fq=local:[-23.6709,-46.7315 TO
-23.6677,-4
Erick,
Just checked on the separate fields and everything looks fine.
One thing that I'm not completely sure is if this query I tried to perform
is correct.
One sample document looks like this:
200
-23.6696784,-46.7290193
-23.6696784
-46.7290193
So, to find for this document I tried to create
This all looks fine, so the next question is whether or not your
documents have the value you think.
+local_0_coordinate:[-23.6674 TO -23.6705] +local_1_coordinate:[-46.7314 TO
-46.7274]
is the actual translated filter.
So I'd check the actual documents in the index to see if you have a single
do
Erick,
My location field is defined like in the example project:
Also, there is the dynamic that stores the splitted coordinates:
The response XML with debugQuery=on is looking like this:
0
1
*:*
*:*
MatchAllDocsQuery(*:*)
*:*
LuceneQParser
local:[-23.6674,-46.7314 TO -23.6705,-46.7274]
What are your results? Can you show us the field definition for "local"
and the results of adding &debugQuery=on?
Because this should work as far as I can tell.
Best
Erick
On Thu, Mar 29, 2012 at 11:04 AM, Alexandre Rocco wrote:
> Hello,
>
> I'm trying to perform some queries on a location fiel