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」ファイルのコードのどの部分を更新して「個別のカウント」を追加するかを誰かが知っていますか? 私が使用しているSolrのバージョンは4.4です。
更新する部分は 2 つあります。
&stats.calcdistinct=true
facets = '&stats=true&...'
countDistinct
panel.mode
f for f in ['count','max','min','sum','countDistinct']