xdmp.queryPartitions( query as cts.query ) as Sequence
This function returns the partition numbers of the partitions that the specified query will be searched on.