Currently, we use the following api to do the nested sorting:
SortBuilders .fieldSort(variableValuePath) .setNestedPath(variablePath) .setNestedFilter(termQuery(variableIdPath, inputVariableId)) .order(sortOrder);
However, the setNestedPath and setNestedFiltersetNestedFilter methods are deprecated and should be replaced by setNestedSort method.
- the deprecated nested sorting api is replaced by the new one for raw decision data and raw process data reports
This is the controller panel for Smart Panels app
OPT-1859 Cleanup deprecated elasticsearch api usage