Replace deprecated nested sorting api with new one

XMLWordPrintable

    • Type: Task
    • Resolution: Duplicate
    • Priority: L3 - Default
    • 2.4.0
    • Affects Version/s: None
    • Component/s: backend
    • None

      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.

      AT:

      • the deprecated nested sorting api is replaced by the new one for raw decision data and raw process data reports

            Assignee:
            Unassigned
            Reporter:
            Johannes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: