Please provide suggestion/example to create a custom stat[Aggregate] function
in the Solr. Every document in Solr is having 30 String, 10 int and 1
binary[hashset to store unique users] fields. I want to add a new stat
function (UniqueUsers(fieldName) like add/avg function already available in
Solr) to find the unique across searched Solr records.

While googling, i found following Issue ticket SOLR-5302 ,which is already
resolved ,but i dint find any example to implement it.
https://issues.apache.org/jira/browse/SOLR-5302


I found one of the stat collector here.

http://svn.apache.org/repos/asf/lucene/dev/trunk/solr/core/src/java/org/apache/solr/analytics/statistics/UniqueStatsCollector.java

how can i add a custom stat attribute, register it with Solr[ how to build
solr with new stat attribute ]?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Custom-stat-aggregation-and-sorting-function-in-solr-tp4153387.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to