Solr的WiKI原文是如下解释:

facet.missing

Set to "true" this param indicates that in addition to the Term based constraints of a facet field, a count of all matching results which have no value for the field should be computed

The default value is false.

This parameter can be specified on a per field basis.

 

个人实验下来,当missing=true时,只有当facet.field在匹配的document中根本不存在(就是在生成索引时,根本就没有加入这个field),才会被统计。(即使field为null或者为“”,都不会被统计)。

相关文章:

  • 2021-10-04
  • 2022-02-12
  • 2021-07-31
  • 2021-07-19
  • 2022-03-03
  • 2022-02-11
  • 2022-12-23
  • 2021-07-03
猜你喜欢
  • 2021-04-19
  • 2021-09-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-16
相关资源
相似解决方案