Hey all
I am rather new to Elasticsearch, only been using is for the last 3 days on and off. I was wondering is there a way that I can create a search query, based on the input given?
I have 2 input fields, phrase and status, with 3 possible combinations for them
- Phrase and status are given
- A phrase and no status is given
- No phrase and a status given.
Is there any way that I can create a single query to handle this rather than have 3 separate queries for each scenario?
Regards