Hi, I am curious if this is expected behavior in a typical facet with range query: params={facet=true,facet.query=[price:[* TO 500], price:[500 TO *]],q=*:*,facet.field=price
i am getting back not only the: facet_queries={price:[* TO 500]=2,price:[500 TO *]=3} but also: facet_fields={price={150.99=1,199.99=1,699.99=1,930.0=1,2300.0=1} I was searching for a way to create the elusive "dynamic" amount ranges, and this would allow me to do it on the client side for sure, but is this right? Solr will send all of this data back? It consists of every price variant with a count. In my case 5 prices were all unique. If real data were used could this be too big to send across? SimpleFacet.getFacetCounts() populates the response object with it. Is this an appropriate place to calculate my dymic amount ranges and replace facet_fields: res.add("facet_queries", getFacetQueryCounts()); res.add("facet_fields", getFacetFieldCounts()); // <-- replace with "Dynamic" facets res.add("facet_dates", getFacetDateCounts()); or should it be done sooner, somewhere in getFieldCacheCounts() where the itteration through all the 5 docs is happening? Thanks, Yev