added passing kwargs to elasticsearch operations