[index] refresh the index after performing the `es_index` operation (closes #17149104) [applied]