What i want is to send a custom parameter to ElasticSearch and get it back in the results
Eg: { query: 'asdasd', timestamp: '123123123'}
And in the results i want to get { timestamp: '123123123', hits: []}
Okay, so the issue is translating from SQL to the ES DSL and getting right results. I am essentially trying to do a SELECT * FROM items WHERE ("queryString" IN "tags") AND (date.NOW <= "deadline") OR ("age" >= 18);
With a mixture of ANDs and ORs I believe I should be using the bool query tool from ES? Is it possible to do a multi_match inside a bool query?