Custom stat aggregation and sorting function in solr

2014-08-17 Thread dhimant
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

Re: Custom stat aggregation and sorting function in solr

2014-08-17 Thread dhimant
Hi Yonik, Thanks for the reply. But i want a unique function on my binary column. This column contains binary representation of java hashset. I found stat functions available @ following location. https://github.com/apache/lucene-solr/tree/trunk/solr/core/src/java/org/apache/solr/analytics/statist