Re: Seasonal searches in SOLR 5.x

2016-03-22 Thread David Smiley
Hi, I suggest having a "season" field (or whatever you might want to call it) using DateRangeField but simply use a nominal year value. So basically all durations would be within this nominal year. For some docs that span new-years, this might mean 2 durations and that's okay. Also it's okay if

Re: Seasonal searches in SOLR 5.x

2016-03-21 Thread Jack Krupansky
You can write an Update Request Processor which takes a pair of date field value and creates a season code value for a separate field, which could be multivalued for date ranges spanning seasons. Similarly you could have another generated multivalued field which listed the months when the data was

Seasonal searches in SOLR 5.x

2016-03-21 Thread Ioannis Kirmitzoglou
Hi all, I would like to implement seasonal date searches on date ranges. I’m using SOLR 5.4.1 and have indexed date ranges using a DateRangeField (let’s call this field date_ranges). Each document in SOLR corresponds to a biological sample and each sample was collected during a date range that