Re: Doubt about facet with dates
: 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" -Hoss http://www.lucidworks.com/
Re: Doubt about facet with dates
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#Workin gwithDates-DateMath Your query would be something like mydate:[* TO NOW/DAY] AND mydate:[NOW+1DAY/DAY TO *] - Toke Eskildsen, Royal Danish Library