Sorting Get Aliases with new Java client

Hi,

I am looking way to execute cat in the new Java client

GET _cat/aliases/bbb*/?format=json&s=is_write_index:desc

I found this way:

AliasesRequest request =  AliasesRequest.of(ar -> ar.name(pattern));		
		
		var response = client.cat().aliases(request);
		
		return response.valueBody();

How can I add the following:
s=is_write_index:desc

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.