lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From PeterKerk <>
Subject Re: get min-max prices as facets
Date Wed, 06 Nov 2013 11:42:08 GMT
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

I sell cars. My cheapest car is 1,000 and the most expensive is 100,000
A user comes on the site and all cars are shown, so the price range filter
he sees is set to start at 1,000 and end at 100,000

Then the user filters on brand Audi.

The cheapest Audi is 40,000 and the most expensive 80,000
In this case I the price range filter changes, and holds a minimum value of
40,000 and a max of 80,000. This will a) give the user an indication of all
Audi prices and b) prevent him from selecting a price for which there is no
car available.

I believe this is different then what you are suggesting right?

View this message in context:
Sent from the Solr - User mailing list archive at

View raw message