Hey Peter,
Now I understood your requirement :-).
I come across this http://wiki.apache.org/solr/StatsComponent
have a look if it helps you :-).
--
View this message in context:
http://lucene.472066.n3.nabble.com/get-min-max-prices-as-facets-tp4099501p4099737.html
Sent from the Solr - User ma
As far as I understand, the filter terms (fq parameters) should be
automatically cached.
On 06 Nov 2013, at 19:08 , PeterKerk wrote:
> Hi Raymond,
>
> Thanks.
> This caching of the main query you mention, is that done automatically or do
> I have to do something for that?
>
>
>
> --
> View
Hi Raymond,
Thanks.
This caching of the main query you mention, is that done automatically or do
I have to do something for that?
--
View this message in context:
http://lucene.472066.n3.nabble.com/get-min-max-prices-as-facets-tp4099501p4099613.html
Sent from the Solr - User mailing list archi
One way of getting the min/max values is to fire off two additional queries,
using the current query and filter params, a field list ("fl") containing just
the field you want to find min/max for, asking for a single hit (rows=1), and
sorting by that field - asc in one query, desc in the other. T
Thanks!
I know how to fire a range query. However, what I want is to provide the
visitor with a range filter. In this range filter the minimum and maximum
value are already set to the lowest and highest price of the current
resultset.
e.g.
I sell cars. My cheapest car is 1,000 and the most expensi
I'm not sure if my answer would help you :-).
Usually we do not need to know the min and max prices that our current
database or solr is holding for all the products. Even if you were to that,
would be complex and just make your business logic bigger and tedious.
Instead, we would know what is th