|
Format dates prior to index: msg#00060lang.ruby.ferret.general
Hi all- I would like to enable search in my application via Ferret and a number of my searchable classes contain dates (of type Time). When these classes are indexed, the dates are written per the standard to_s output (e.g. "Wed Dec 07 08:56:04 CDT 2006"), which is not suitable for date range queries. Is it possible to format the dates before they are indexed (e.g. "20061207") without writing additional methods that output the dates in this format? Thanks, Josh -- Posted via http://www.ruby-forum.com/. |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Invalid character and win32: 00060, Frank Blecha |
|---|---|
| Next by Date: | Re: Format dates prior to index: 00060, Andreas Korth |
| Previous by Thread: | Re: Invalid character and win32i: 00060, Frank Blecha |
| Next by Thread: | Re: Format dates prior to index: 00060, Andreas Korth |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |