我在solr日志中看到下面的日志消息
webapp=/solr path=/admin/ping params={} hits=1421599 status=0 QTime=26
o.a.s.c.ShardLeaderElectionContextBase make sure parent is created
o.a.s.c.ZkController Core needs to recover:
这个日志中的命中表示什么?在这个日志之后,我看到集群宕机并且leader选举过程失败。试图理解是大量的读写导致集群崩溃吗?
Solr日志中的hits
与Solr查询返回的numFound
的值相同。也就是说,hits
表示匹配查询的文档数。
在您的示例中,/admin/ping
处理程序响应中记录的hits
表示Solr核心/副本中的文档数量。