Facets and date ranges

7 views
Skip to first unread message

jamescrowley

unread,
Jun 30, 2012, 5:33:18 AM6/30/12
to rav...@googlegroups.com
I'm playing around with the Facet functionality (awesome!) and was wondering how you might deal with a date based field. For instance, I envisage a range say "In the next 7 days", "In the next month" etc. Obviously however the actual date from which you're doing these calculations changes each day. Would you just create a scheduled job that re-creates the index each day with new date parameters?

What's the behaviour of indexes while they're being re-calculated? Would you need to create a new index while preserving the existing one to serve active queries and then replace once it's ready?

Or is this a "bad" idea?

Thanks!
Reply all
Reply to author
Forward
0 new messages