Using facet.date with stats.facet in solr

I use the Stats component in solr to get facet statistics that works very well, and now I'm interested in doing the same for my date fields. But it seems that using facet.date fields with the statistics module does not work, is there any way to make this work?

My backup plan is to add my faces in the form of specific fields (date, year-quarter, year-month, etc.), but this will require intensive reindexing.

+3
source share
1 answer

It is best to keep copies of all date fields in unix time. Thus, you can have a whole field and be able to run statistics on them.

It seems that statistics on date fields works.

https://issues.apache.org/jira/browse/SOLR-1023

0

All Articles