Not really, this is to keep it the same as delete index, where empty array means all indices, but null array is not allowed there either. That prevents people from setting a null value using the java api.