Elasticsearch索引限制?

时间:2018-03-01 16:26:54

标签: symfony elasticsearch foselasticabundle

我正在使用Symfony 4,FosElasticaBundle和Kibana,我在ElasticSearch中有大约600K项要索引。

我正在使用命令fos:elastica:populate,当我运行它时,我有类似的东西:

 Resetting myindex
 0/546097 [>---------------------------]   0%

所以,546097是我需要索引的项目的确切数量,但在索引之后,当我尝试使用curl获取ElasticSearch中的所有项目时:

curl -XGET "http://localhost:9200/myindex/_search?pretty" -H 'Content-Type: application/json' -d'
{
    "query" : {
       "match_all" : {}
     }
}'

我有count=420,603

当我尝试使用Kibana检查索引时,我可以看到相同的计数420,603

我做了几次索引(重置+索引),它始终与420603的数量相同....

所以我的问题是:这个限制是什么?为什么索引会完全停止到420603件?

谢谢!

0 个答案:

没有答案