Hey,

your ranges specification is broken, you need to use an array of objects.
Also, please try to use aggregations if possible, as they are the successor
of facets.


--Alex


On Thu, Jun 5, 2014 at 10:37 AM, Munjal Dhamecha <[email protected]>
wrote:

> Hello All,
>
> I've been facing problem with geo_distance facet since few hours.
>
> Error is: ElasticsearchParseException[field must be either 'lat', 'lon' or
> 'geohash']
>
> I am not sure, if this is bug or I am making a silly mistake here. Please
> guide in right direction.
>
> Gist: https://gist.github.com/mastermunj/a58298bc56615b54d643
>
> Tested On: 1.2.0, 1.2.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/6ec869ad-c32a-4e85-ab60-131bca8623fb%40googlegroups.com
> <https://groups.google.com/d/msgid/elasticsearch/6ec869ad-c32a-4e85-ab60-131bca8623fb%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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/CAGCwEM_wd8EctDuvpA7T-89O7P5Pjhk2oYhgqh5tAcDMMJL%2BQg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to