I am trying to integrate ElasticSearch into a web app. When I do a search
for some word, I want ElasticSearch to give me back all the questions and
replies that contain my search keyword.
Currently, I have a question and reply indexed as such:
question: "Hello How are you
question: "hey you fine"
So, if I wanted to search for the word "you" in both a reply and a
question, I would have to perform two CURL calls, one for question and
reply. Is there a better way to do this? Is there a way where I wouldn't
have to perform two CURL calls?