I am building an elastic client Java application that users will enter a search query from the browser. I am looking for an open source Java library that can take the user inputs and parse them into an elasticsearch client Query or QueryBuilders object that I can send it to elasticsearch server. The user inputs would be something like "(site:mysite AND name:Jim) OR (filetype:pdf AND author:john)"
Thanks