from elasticsearch import Elasticsearch, helpers es = Elasticsearch() es_index = "your_index_name" documento = "your_doc_type" body = { "query": { "term" : { "user" : user } } } res = helpers.scan( client = es, scroll = '2m', query = body, index = es_index)
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)