Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 2016 年 3 月的 Banana 版本中,Hits Panel 具有新的统计功能(如 min、max、mean、stddev 等),这比以前的单一计数功能非常有用。但是功能 count distinct 还不存在:-(
有人知道要在“module.js”文件中更新代码的哪一部分以添加“count distinct”吗?我使用的 Solr 版本是 4.4。
有两部分需要更新:
&stats.calcdistinct=true
facets = '&stats=true&...'
countDistinct
panel.mode
f for f in ['count','max','min','sum','countDistinct']