A query builder java library for parsing web query into an elastic client Query object

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

You don't really need something like this. A Simple Query String query will do that automatically.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.