Re: Doubt about facet with dates

2017-10-06 Thread Chris Hostetter
: https://lucene.apache.org/solr/guide/6_6/working-with-dates.html#Workin : gwithDates-DateMath : : Your query would be something like : mydate:[* TO NOW/DAY] AND mydate:[NOW+1DAY/DAY TO *] specifically you could use those with "facet.query" ... instead of trying to do them with "facet.range"

Re: Doubt about facet with dates

2017-10-06 Thread Toke Eskildsen
On Fri, 2017-10-06 at 13:16 +0200, Miguel Valencia Zurera wrote: >      I need get faceted results  by a date field. The facets must be > two: > 1) all values lower than the system date > 2) and values greater than the system date, https://lucene.apache.org/solr/guide/6_6/working-with-dates.html#W

Doubt about facet with dates

2017-10-06 Thread Miguel Valencia Zurera
Hi I need get faceted results by a date field. The facets must be two: 1) all values lower than the system date 2) and values greater than the system date, ¿it is possible get these two facet? I'm reading wiki solr about facet.date and facet.range but I not get a good solution. Any idea