Hello,

My team is switching from a custom statistics patch to using Stats Component in 
Solr 5.4.1. One of the features that we haven't been able to replicate in Stats 
Component is an upper and lower fence. The fences limit the data that is sent 
to the Stats Component but not the data that is returned by the query. We have 
tried a couple of things, queries on the tutorial index listed below, but 
neither of them returned the desired behavior. I was wondering if anyone knew 
how to accomplish this feature or of a patch that adds this feature?

http://localhost:8983/solr/techproducts/select?rows=0&q=*:*&stats=true&stats.field=%7B!lucene%7Dprice:[100%20TO%201000<http://localhost:8983/solr/techproducts/select?rows=0&q=*:*&stats=true&stats.field=%7B!lucene%7Dprice:%5b100%20TO%201000>]
http://localhost:8983/solr/techproducts/select?rows=2&q=*:*&stats=true&stats.field=%7B!frange%20l=100%20u=2000%7Dprice&fl=price


Reply via email to