Re: Best strategy for dates in solr-ruby

2008-08-12 Thread Ian Connor
I like your suggestion. To keep the index working the same, I have just switched to dates and added the string "T23:59:59Z" and it seems to make the solr.DateField happy when this string is passed. It will mean I will have to mess with it on the way back in - but it should be okay. To have solr-ru

Re: Best strategy for dates in solr-ruby

2008-08-12 Thread Erik Hatcher
On Aug 11, 2008, at 3:03 PM, Ian Connor wrote: I originally used a Ruby Date class for my dates, but found when I set the type to solr.DateField in the solrconfig.xml, it returned a parse error. After that, I switched to Time and it worked fine. However, I now have some dates that are out of th

Best strategy for dates in solr-ruby

2008-08-11 Thread Ian Connor
Hi, I originally used a Ruby Date class for my dates, but found when I set the type to solr.DateField in the solrconfig.xml, it returned a parse error. After that, I switched to Time and it worked fine. However, I now have some dates that are out of the Time range (e.g. 1865) so Date would work b