Last seen time for term values?

Hi,

I have a mapping that has a host and a timestamp (among other fields), and
would like to get a "last seen time" for some number of recently seen
hosts. Is there a better way to do this than to first do a term facet on
the host field, then a range query (limit=1) on each of the term values
sorted in descending order?

Thanks,
John

--
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/496aea33-2314-4a47-9cbd-e1f2a4f76138%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.