code: private static List<String> getResultIds(JsonNode result)
    {
      JsonNode resultIds = result.path("data").path("resultIds");
      if (resultIds.isNull() ||
          resultIds.isMissingNode() ||
          resultIds.asText().isEmpty())
      {
        return Collections.emptyList();
      }
      return new ArrayList<>(Arrays.asList(resultIds.asText().split(",")));
    }
docs: Return the list of result IDs provided in a result, if available; otherwise
  return an empty list.
  
  @param result result json
  @return list of result IDs which can be used for result scans