Regarding the custom ranking feature in Algolia

How to set customranking in indices for multipleQueriesRequest…?


index.setSettings(
      new IndexSettings().setCustomRanking(Collections.singletonList(
              "desc(boosted)"
      ))
);

This can be use for single index searches.
How to set customranking for below multi-query…?,

MultipleQueriesResponse queryresponse =
                    searchClient.multipleQueries(new MultipleQueriesRequest(constructMultiQuery(requestBeans, queries)), Object.class);