add deleteDocsByIndex