我想将我的数据从字典推送到 Elasticsearch。我怎样才能为它创建一个索引?
我也尝试在 Linux 服务器 curl -XPUT ' http://localhost:9200/osint/ ' -d ' index: number_of_shards: 5 number_of_replicas: 2 上使用 Curl 命令,但这也没有帮助
我写了这个,但无法通过带有索引的 KibanaHud 获取数据osint
:
es.index(index='osint', doc_type='tweet', body=dict, id = 1)
es.indices.refresh(index='osint')
你能帮忙吗