Isolating ElasticSearch options from methods