Re: Dates, Times and Timezones

2008-02-04 Thread Chris Hostetter
: One great problem we are having to integrate solr with plone is that : plone can have dates and times in diferent timezones, and each user can query : the data in its own timezone. So we would be really interested in being able : to put date/time data on solr with a timezone and specifying

RE: dates & times

2007-05-10 Thread Binkley, Peter
e.org Subject: Re: dates & times : It's more than string processing, anyway. I would want to convert the : Solr Time 2007-03-15T00:41:5:2Z to "March 15th, 2007" in a web app. : I'd also like to say 'Posted 3 days ago." In my vision of things, : that work is done

Re: dates & times

2007-05-10 Thread Ryan McKinley
(In general a "DateTranslatingTokenFilter" class would be a pretty cool addition to Lucene, it could as constructor args two DateFormatters (one for parsing the incoming tokens, and one for formating the outgoing If this happens, it would be nice (perhaps overkill) to have a "chronic" input fi

Re: dates & times

2007-05-10 Thread Chris Hostetter
: The right approach for more flexible date parsing is probably to add : more functionality to the date field and configure via optional : attributes. Adding configuration options to DateField seems like it might ultimately be the right choice for changing the *internal* format, but assuming we w

Re: dates & times

2007-05-10 Thread Yonik Seeley
On 5/10/07, Brian Whitman <[EMAIL PROTECTED]> wrote: On May 10, 2007, at 2:30 PM, Chris Hostetter wrote: > Questions like these are whiy I'm glad Solr currently keeps it > simple and > makes people deal in absolutes .. less room for confusion :) I get all that, thanks for the great explanation.

Re: dates & times

2007-05-10 Thread Brian Whitman
On May 10, 2007, at 2:30 PM, Chris Hostetter wrote: Questions like these are whiy I'm glad Solr currently keeps it simple and makes people deal in absolutes .. less room for confusion :) I get all that, thanks for the great explanation. I imagine most of my problems can be solved with a cus

RE: dates & times

2007-05-10 Thread Binkley, Peter
to Solr is also desirable. Peter -Original Message- From: Brian Whitman [mailto:[EMAIL PROTECTED] Sent: Thursday, May 10, 2007 12:25 PM To: solr-user@lucene.apache.org Subject: Re: dates & times > You can get at some of this functionality in the built-in xslt 1.0 > engine (X

Re: dates & times

2007-05-10 Thread Chris Hostetter
: It's more than string processing, anyway. I would want to convert the : Solr Time 2007-03-15T00:41:5:2Z to "March 15th, 2007" in a web app. : I'd also like to say 'Posted 3 days ago." In my vision of things, : that work is done on Solr's side. (The former case with a strftime : type formatter in

Re: dates & times

2007-05-10 Thread Brian Whitman
You can get at some of this functionality in the built-in xslt 1.0 engine (Xalan) by using the e-xslt date-time extensions: see http://exslt.org/date/index.html, and for Xalan's implementation see http://xml.apache.org/xalan-j/extensionslib.html#exslt . The exslt stuff looks good, thanks! I'll h

RE: dates & times

2007-05-10 Thread Binkley, Peter
ECTED] Sent: Thursday, May 10, 2007 11:49 AM To: solr-user@lucene.apache.org Subject: Re: dates & times > > Those are interesting ideas and it probably would not be difficult to > create a patch if you were interested, but I'm curious: What about > XSL makes what

Re: dates & times

2007-05-10 Thread Brian Whitman
Those are interesting ideas and it probably would not be difficult to create a patch if you were interested, but I'm curious: What about XSL makes what seems to me an elementary string-processing task so difficult? Well, XSL 1.0 (which is the one that "comes for free" with Solr/java) doesn'

Re: dates & times

2007-05-10 Thread Mike Klaas
On 5/10/07, Brian Whitman <[EMAIL PROTECTED]> wrote: After writing my 3rd parser in my third scripting language in so many months to go from unix timestamps to "Solr Time" (8601) I have to ask: shouldn't the date/time field type be more resilient? I assume there's a good reason that it's 8601 int