lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <>
Subject Re: date slider
Date Sun, 16 May 2010 18:52:26 GMT

> Now I also want to offer a slider to define the range to
> include in the result set. However here I do not want to do
> faceting, instead I just want to find out the min and max
> date values in the result (without any of the facet filters
> applies) so I know the start and end points for the slider.
> The user can then move the sliders to further filter the
> result set.
> How can I best go about fetching just those min and max
> values, ideally without having to add a separate query just
> for this? can give you min and max values.
Since it calculates additional statistics, i am not sure which one is faster: fetching min
and max separately or using stats component.

q=query&start=0&rows=1&fl=date&sort=date asc
q=query&start=0&rows=1&fl=date&sort=date desc


View raw message