Returning search results from a publication

Hi, I’m trying to get back a list of results from a publication. On the backend, I call elasticsearch, which returns me a set of ids, and then I perform this search on my mongo client and return this cursor to the publication. The problem is, on the client side, I don’t get the list of ids that I need to search for again on the client minimongo side. Is there a way I can pass the list of ids to the client as well? One way of course is to make a new ‘user search’ collection, one for each user. Is this the only decent way?

Thanks!