Doesn't this then also start sounding like various pre-indexing processing 
pipelines?  I remember one person (was it somebody from Norway?) saying he has 
OpenPipe+Solr working.... hm, one "yahoo" away:

http://openpipe.berlios.de/


Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch



----- Original Message ----
> From: Chris Hostetter <[EMAIL PROTECTED]>
> To: solr-user@lucene.apache.org
> Sent: Thursday, August 28, 2008 3:04:14 PM
> Subject: Re: Rounding date fields
> 
> 
> : I propose the following syntax similar to the DateMath syntax:
>     ...
> : Any date will be rounded to the nearest specified time and less significant
> : units will be set to their least possible value.
> 
> : If it is not desirable to round to nearest element (many times users don't
> : want a value greater than given value), we can have:
> 
>     ...
> 
> this starts to get into general territory of "a date math expression 
> applied to all input dates" ... so calling it "roundTo" may not be 
> appropriate.
> 
> it also starts to get ito the realm of "arbitrary processing of values 
> prior to storing/indexing ... which could be useful in other ways (ie: 
> parsing alternate date formats) and for other field types (ie: limit 
> numeric fiels to a certain range, round float input to an int, etc...)  
> which is something i've been hoping to work on for a while now ... let any 
> FieldType have an analyzer, and add/abuse a new 
> type="preprocess"> for modifying the values before they are stored or 
> analyzed by the "index" analyzer.
> 
> 
> 
> 
> -Hoss

Reply via email to