Hey everyone,

We have been implementing ES for our API for a few months, and have finally 
come to a wall with the top hits aggregation.

We are trying to use this to get similar items grouped under a parent. The 
aggregation is working perfectly, except when we want to add a geolocation 
sort. We have done a little bit with the script sorting based on another 
field **{ max: {script: "doc['offer_value'].value"} }** we just cant seem 
to do this based on the geolocation distance.

Any advice would be extremely appreciated, thank you in advance!

Cody

-- 
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/fa836997-036c-4b07-af19-837dcf3f2916%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to