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");
              search.setParam("percentiles.requested.percentiles", "25,50,75");
              search.setParam("percentiles.lower.fence", "0");
              search.setParam("percentiles.upper.fence", "1000000");
              search.setParam("percentiles.gap", "10");
              search.setParam("percentiles.averages", true);


              search.setParam("facet", true);
              search.setParam("facets.stats.percentiles", true);
              search.setParam("facets.stats.percentiles.field", "networkTime");
              search.setParam("f.networkTime.stats.percentiles.requested", 
"25,50,75");
              search.setParam("f.networkTime.stats.percentiles.lower.fence", 
"0");
              search.setParam("f.networkTime.stats.percentiles.upper.fence", 
"1000000");
              search.setParam("f.networkTime.stats.percentiles.gap", "10");
              search.setParam("facets.stats.percentiles.averages", true);


              search.setParam("facet", true);
              search.setParam("facets.stats.percentiles", true);
              search.setParam("facets.stats.percentiles.field", "networkTime");
              search.setParam("facets.networkTime.stats.percentiles.requested", 
"25,50,75");
              
search.setParam("facets.networkTime.stats.percentiles.lower.fence", "0");
              
search.setParam("facets.networkTime.stats.percentiles.upper.fence", "1000000");
              search.setParam("facets.networkTime.stats.percentiles.gap", "10");
              search.setParam("facets.stats.percentiles.averages", true);

Thanks,
Gilad

Reply via email to