Hi, I have been using Elasticsearch through Java API. In order to search I send a JSON document to build the search query as follows
WrapperQueryBuilder WrapperQueryObj = QueryBuilders.wrapperQuery();
now, I want to add the SortBuilder. Is there anyway to create a SortBuilder from a JSON String or Array like the Querybuilder? QueryBuilders is awesome which reduces tens of code into one line.
Thanks in advance.