solr日志中的hit表示什么?



我在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核心/副本中的文档数量。

最新更新