我是 PyES 的新手,文档有点难以阅读。
我想将数据索引到 ES 中,我看到了这个:
conn.index({"name":"Joe Tester", "parsedtext":"Joe Testere nice guy", "uuid":"11111", "position":1}, "test-index", "test-type", 1)
我得到前 2 个参数,但最后两个是什么?即“测试类型”和1?解释与上述相关的索引参数的文档在哪里?
我是 PyES 的新手,文档有点难以阅读。
我想将数据索引到 ES 中,我看到了这个:
conn.index({"name":"Joe Tester", "parsedtext":"Joe Testere nice guy", "uuid":"11111", "position":1}, "test-index", "test-type", 1)
我得到前 2 个参数,但最后两个是什么?即“测试类型”和1?解释与上述相关的索引参数的文档在哪里?