I want to enable search on my website. Features would be full-text, field-based, wildcard-based, supporting AND/OR/NOT, etc.
Using the Elastic Search DSL to implement these features is doable. However, I will need to parse the user's query and create appropriate clauses for the final DSL-based query.
On the other hand, if I pass the user's query to a 'query_string' then I can by-pass the parsing.
The 'Elasticsearch: The Definitive Guide' book warns against using query_string in production. If I still go ahead with using query_string, are there any caveats I should be aware of, or anything to guard against?
I know this is a very broad question, but some insight from experienced users will be very helpful.
Thanks in advance!