ElasticSearch报TypeError: string indices must be integers问题求助
问题:ElasticSearch 执行代码时出现 TypeError: string indices must be integers 错误
我执行以下ElasticSearch代码时,遇到TypeError: string indices must be integers错误:
es.indices.create(index='person', ignore=400) res1 = es.index(index='person',doc_type='people', body=e1) res2 = es.index(index='person',doc_type='people', body=e2) print("RES1 : {}".format(res1)) print("RES2 : {}".format(res2))
我已将elasticsearch版本降级至5.5.3,但仍出现相同错误,恳请技术帮助。
内容的提问来源于stack exchange,提问作者Bemz
相关产品推荐
相关产品推荐

