On Thu, Aug 28, 2008 at 10:13 PM, Otis Gospodnetic < [EMAIL PROTECTED]> wrote:
> Yeah, I was thinking of something similar, too. Would the following be > even simpler? > > > <fieldType name="date" class="solr.DateField" sortMissingLast="true" > omitNorms="true" round="UP_MINUTE" /> > or > <fieldType name="date" class="solr.DateField" sortMissingLast="true" > omitNorms="true" round="DOWN_MINUTE" /> > > - Single new attrib name. > - Shorted attrib name. > - No +/- and number+time unit mix > - Self-descriptive and "naturally readable", e.g.: round up to minutes > > What do you think? > The shorter attribute name is better. I proposed the -1MINUTE (DateMath) syntax because everyone querying dates in solr is already familiar with it and we can directly use the DateMathParser on it :-) -- Regards, Shalin Shekhar Mangar.