RE: creating date facets

2019-06-20 Thread Nightingale, Jonathan A (US)
ld for hour of the day -Original Message- From: Erick Erickson Sent: Wednesday, June 19, 2019 1:34 PM To: solr-user@lucene.apache.org Subject: Re: creating date facets *** WARNING *** EXTERNAL EMAIL -- This message originates from outside our organization. There are two approaches I m

Re: creating date facets

2019-06-20 Thread Joel Bernstein
You might find this useful. If makes creating time series aggregations a little easier. It uses JSON facets under the covers and is very fast. https://lucene.apache.org/solr/guide/7_6/stream-source-reference.html#timeseries Joel Bernstein http://joelsolr.blogspot.com/ On Wed, Jun 19, 2019 at 1:

Re: creating date facets

2019-06-19 Thread Erick Erickson
There are two approaches I might use, which is really up to you. - You can do a regex filter. So define your extra fields as you want, then use a regex charFilter (NOT filter, you want to transform the entire input) to peel out the separate parts. Then copyfield to each one, each with a differen