pass index in to elasticsearch.query()