DateMath (http://wiki.apache.org/solr/SolrQuerySyntax) contains the
keyword NOW,
and since you can form your facet queries as arbitrary Solr queries,
something like
facet.query=startdate:[* TO NOW] AND enddate:[NOW TO *] should work?

Best
Erick

On Mon, Jun 20, 2011 at 3:01 AM, roySolr <royrutten1...@gmail.com> wrote:
> Hi,
>
> I want all the results, not only the results for current season.
> Let say i search for "supermarket", i get results 1, 2 and 3 in my
> response(previous post)
> Then i want on the left part some facets with openinghours. Let's say it is
> today 02/08/2011. Then my facets looks like this:
>
> 18:00(2)
> 20:00(1)
>
> Company 2 is open till 20:00. Company 1 and 3 are open till 18:00. So there
> are different openinghours dependent on season.
>
> I hope you understand with i mean.
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Complex-situation-tp3071936p3085129.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to