getting ES fields of an index failed with empty indices