What I'm trying to achieve is to generate a valid elasticsearch query_string form inputs preferably in frontend. In worst case it can be generated in the backend (nodeJS, NestJS). I'm looking for libraries which can generate the query_string mentioned above and parse it back so I can add more criterias to the search without string concatenation i.e. queryString += 'OR (big apple)'. I already found a post which already proves that the query_string is forwarded to Lucene (inside of elasticsearch), so Lucene compatible query_string might be acceptable.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.