Re: Date range warming.

2016-07-01 Thread Erick Erickson
Glad you figured it out. BTW, your query can be a little simpler since you can mix and match inclusive/exclusive end points as: date_published:([NOW/DAY-6MONTH+1DAY TO NOW/DAY+1DAY}) Note curly brace rather than square bracket at the end. As to whether the filter cache is actually used, if you l

Re: Date range warming.

2016-07-01 Thread Callum Lamb
Okay I figured it out. Answer here if anyone ever stumbled across this in future. With debugQuery on you can see filter_queries actually get processed into what's in the parsed_filter_queries and it's those that get cached. In this case solr converts them to unix timestamps TO unix_timestamp and I

Re: Date range warming.

2016-07-01 Thread Callum Lamb
Woops, Just realised it's meant to be: date_published:([NOW/DAY-6MONTH+1DAY TO NOW/DAY+1DAY-*1MILLISECOND*]) instead. On Fri, Jul 1, 2016 at 11:52 AM, Callum Lamb wrote: > We want to warm some FQ's. The main ones we want to do being date presets > like "last 6 months", "last year" .etc > > The