I am providing accessibility to search on ES using my own UI which uses query string.
Selecting query string is essential, beacuse the users might not be familier with advance quering in ES, And I would like to keep their queries as simple as possible.
In practice, I am just taking the user's query and send it to ES inside query string schema without changing the query itself.
The trouble is to query nested fields along other fields with query string.
From previous posts (Multi_match/query string with nested and "non-nested" fields - #6 by YeeP) and my own experience, I understood it is not possible.
My current solution is to parse every user's query from query string to dsl in the backend , which will must include considerating the field mapping (nested or not).
Is there a better way you can think of?
If not, is the parsing solution already exist?
Love for some help,