Re: Custom stat aggregation and sorting function in solr

2014-08-17 Thread Yonik Seeley
On Sun, Aug 17, 2014 at 7:27 AM, dhimant wrote: > Hi Yonik, > Thanks for the reply. > But i want a unique function on my binary column. This column contains > binary representation of java hashset. Ah, got it... hopefully it's your own binary format and not Java serialization (the latter would b

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

Re: Custom stat aggregation and sorting function in solr

2014-08-17 Thread Yonik Seeley
On Sun, Aug 17, 2014 at 2:35 AM, dhimant wrote: > 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. Heliosearch (a solr fork) has this: http://heliosearch.org/solr-facet-functions/ facet