Re: Median in Solr json facet api

2018-11-15 Thread Anil
Thanks Toke and Joel. On Wed, 14 Nov 2018 at 19:47, Joel Bernstein wrote: > The JSON facet API uses the t-digest approach to estimate the percentiles. > > You can also use Solr Math Expressions to take a random sample from a field > and estimate the median from the sample. Here is the Streaming

Re: Median in Solr json facet api

2018-11-14 Thread Joel Bernstein
The JSON facet API uses the t-digest approach to estimate the percentiles. You can also use Solr Math Expressions to take a random sample from a field and estimate the median from the sample. Here is the Streaming Expression: let(a=random(collection1, q="*:*", fl="filesize_d", rows="25000"),

Re: Median in Solr json facet api

2018-11-14 Thread Toke Eskildsen
On Wed, 2018-11-14 at 17:53 +0530, Anil wrote: > I don;t see median aggregation in JSON facet api documentation. It's the 50 percentile: https://lucene.apache.org/solr/guide/7_5/json-facet-api.html#metrics-example - Toke Eskildsen, Royal Danish Library

Median in Solr json facet api

2018-11-14 Thread Anil
HI, Good Morning. I don;t see median aggregation in JSON facet api documentation. Could you please point me to the documentation to create custom json facet apis ? Thanks. Regards, Anil

Solr json facet API contains option

2017-10-20 Thread kenny
Hi, I don't seem to find a 'contains' (with or without ignorecase) in the available descriptions of the JSON facet API. Is that because there is none? Or is it just not adequately described. For example in the official ref guide for 6.6 or 7.0 there is no mention of this feature. Is it produc

Solr json facet api

2017-01-05 Thread kshitij tyagi
Hi, We were earlier using solr 4.0 and now moved to solr 5.2: I am debugging queries and seeing that most of the time in queries are taken by solr facet queries. I have read about solr json facet api in solr 5 on wards, can anyone help me out to understand the difference between these both