I am also facing the same issue. Right now, I am just doing a filter myself, but I would assume this is a common use case, an ES must have a way to deal with it?
On Tuesday, April 15, 2014 6:24:52 PM UTC-7, Joris Bolsens wrote: > > I am using the javascript API and want to do a search and have it search > through the most recent objects, IE I call a search with size 100, I want > to have the most recent 100 objects returned to me, how would I go about > doing that? > > I tried using sort, but it seems that it just sorts the results after the > search completed > -- 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/fb4a3d83-c386-459b-beb6-a8ca4fcbb286%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
