You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Denis Kuzmenok <fo...@ukr.net> on 2011/09/01 07:15:47 UTC

Re: Field grouping?

But  i  don't  know what values would be price field in that query. It
can  be 100-1000, and 10-100, and i want to get ranges in every query,
just split price field by docs number.

> Yes, Ranged Facets
> http://wiki.apache.org/solr/SimpleFacetParameters#Facet_by_Range

> 2011/8/31 Denis Kuzmenok <fo...@ukr.net>

>> Hi.
>>
>> Suppose  i  have  a field "price" with different values, and i want to
>> get  ranges for this field depending on docs count, for example i want
>> to  get 5 ranges for 100 docs with 20 docs in each range, 6 ranges for
>> 200 docs = 34 docs in each field, etc.
>>
>> Is it possible with solr?
>>
>>