Did you try with "site_id":"1" instead of 1?

--
David ;-)
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

> Le 10 mai 2014 à 17:09, Glenn Jacobs <[email protected]> a écrit :
> 
> Even this simple example doesn't work...
> 
> {
>     "filtered": {
>         "query": {
>             "match_all": {}
>         },
>         "filter": {
>             "and": [
>                 {
>                     "geo_distance": {
>                         "distance": "1miles",
>                         "location": "51.7272680,0.4194800"
>                     }
>                 },
>                 {
>                     "term": {
>                         "site_id": 1
>                     }
>                 }
>             ]
>         }
>     }
> }
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "elasticsearch" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/elasticsearch/6b0e623b-1239-44ac-870b-ab781511364a%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/26D6554A-F87D-4DE2-9277-9DCE0F0961EB%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.

Reply via email to