Re: Solr - example for using percentiles

2017-02-22 Thread Chris Hostetter
: > Using the stats component makes short work of things. : > : > stats.true&stats.field=foo : : The stats component has been rendered obsolete by the newer and shinier : json.facet stuff. json.facet still doesn't support multi-shard refinement, so saying stats (and/or) facet components are ob

Re: Solr - example for using percentiles

2017-02-22 Thread Bram Van Dam
On 17/02/17 13:39, John Blythe wrote: > Using the stats component makes short work of things. > > stats.true&stats.field=foo The stats component has been rendered obsolete by the newer and shinier json.facet stuff. - Bram

Re: Solr - example for using percentiles

2017-02-17 Thread John Blythe
Using the stats component makes short work of things. stats.true&stats.field=foo You can determine which stats fields are retrieved, including which percentiles you'd like to see returned: stats.true&stats.field{percentiles="15,50,85,90}foo https://cwiki.apache.org/confluence/display/solr/The+S

Re: Solr - example for using percentiles

2017-02-17 Thread Bram Van Dam
On 15/01/17 15:26, Vidal, Gilad wrote: > Hi, > Can you direct me for Java example using Solr percentiles? > The following 3 examples are not seems to be working. Not sure if this is still relevant, but I use the json.facet parameter with SolrJ: query.add("json.facet", "{\"ninety\":\"percentile(v

Solr - example for using percentiles

2017-01-15 Thread Vidal, Gilad
Hi, Can you direct me for Java example using Solr percentiles? The following 3 examples are not seems to be working. search.setParam("facet", true); search.setParam("percentiles", true); search.setParam("percentiles.field", "networkTime"); se