from reading the documentation I understand that when querying elasticsearch the result contains only the keys to the relevant docs. Did i understand correctly?
If so -
what is the usual pattern? -> query es -> iterate results (build key list) -> bulk get from couchbase ->iterate results -> send response to client ?
if the above is true my additional question would be :
is there a way to store full docs within elasticsearch so that the query pattern will look like this -> query es -> iterate results -> send response to client. this approach eliminate the need of additional fetch from couchbase.
I want to add to the above that i do not want to write docs directly to elasticsearch and would rather use the cb-es plugin for syncing docs.