【发布时间】:2019-06-10 03:25:01
【问题描述】:
我有弹性搜索单节点集群,它有一些索引。索引包含 6000 个或更多文档。文档映射有很多字段,例如(30 个或更多)。我可以在(Kibana 开发工具)中查询所有重复记录但是我用 python 结果查询,比如 10 条记录或 20 条记录。这是什么原因?
我的索引和文档计数
yellow open test_index kjioInpQRAqT3o1LZHI92g 1 2 7652 1267 20.7mb 20.7mb
我的地图
{
"settings": {
"number_of_shards": 1,
"number_of_replicas": 2
},
"mappings": {
"test_index" : {
"properties": {
"name": {
"type": "keyword"
},
"address": {
"type": "keyword"
},
# MORE 35 FIELDS ....
}
}
}
}
【问题讨论】:
标签: python python-3.x python-2.7 elasticsearch