Annotating results?

I have two types stored in an index: locations and activities.An activity
has a 'relation' to a location - ie. an activity takes place at a location.
Is it possible to get a location search result set that includes the count
of activities at each location? Sort of like annotating each location in
location results, I guess?

Thanks.

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/fff4cf9c-a926-431b-86f7-ad1f9850f86e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.