lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis Kuzmenok <forward...@ukr.net>
Subject Re: Field grouping?
Date Thu, 01 Sep 2011 05:15:47 GMT
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 <forward_ua@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?
>>
>>




Mime
View raw message