Re: Best way to map holidays to corresponding date

2014-11-09 Thread Jack Krupansky
Try writing a few examples. Try christmas, easter, and memorial day. -- Jack Krupansky -Original Message- From: Anurag Sharma Sent: Sunday, November 9, 2014 12:54 PM To: solr-user@lucene.apache.org Subject: Re: Best way to map holidays to corresponding date Not sure this is the

Re: Best way to map holidays to corresponding date

2014-11-09 Thread Anurag Sharma
Not sure this is the correct way but can we use synonyms here On Wed, Nov 5, 2014 at 6:14 PM, Jack Krupansky wrote: > Unfortunately, a date is a non-analyzed field, so you can't do something > like a synonym. > > Further, Holidays are repeating - every year - and the dates can vary, so > they wo

Re: Best way to map holidays to corresponding date

2014-11-05 Thread Jack Krupansky
Unfortunately, a date is a non-analyzed field, so you can't do something like a synonym. Further, Holidays are repeating - every year - and the dates can vary, so they won't match exactly. Use an update request processor to examine the date field at values index time and look up and store th