我试图使用Elasticsearch 7.1在Python中运行以下代码,但是出现以下错误:
ElasticsearchDeprecationWarning: [typesremoval] Usinginclude_type_name in put mapping requests is deprecated.client.indices.put_mapping(index=indexName,doc_type='diseases', body=diseaseMap
timeout=30s] returned 1 warnings: [299 Elasticsearch-7.6.2-ef48eb35cf30adf4db14086e8aabd07ef6fb113f "[typesremoval] Usinginclude_type_name in put mapping requests is deprecated.endIndex).forEach(e ->{ val i
Programs\Python\Python310\lib\site-packages\elasticsearch\connection\base.py:209: ElasticsearchWarning: [typesremoval] Specifying types in document indexrequests is deprecated, use the typeless endpoints instead(/{index}/_doc/{id}
Types> // want to create IntegerField or StringField and passauto uPtr = std::make_unique<Types...>(std::forward<Types...>(args)...); // # ???}
using IF =