lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan McKinley (JIRA)" <>
Subject [jira] Commented: (SOLR-741) Add support for rounding dates in DateField
Date Sun, 09 Nov 2008 22:20:46 GMT


Ryan McKinley commented on SOLR-741:

I agree with adding the accuracy directly to the DateField type.

> Add support for rounding dates in DateField
> -------------------------------------------
>                 Key: SOLR-741
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: search
>    Affects Versions: 1.4
>            Reporter: Shalin Shekhar Mangar
>            Priority: Minor
>             Fix For: 1.4
> As discussed at
> Since rounding dates to a coarse value is an often recommended solution to decrease number
of unique terms, we should add support for doing this in DateField itself. A number of syntax
were proposed, some of them were:
> # <fieldType name="date" class="solr.DateField" sortMissingLast="true"omitNorms="true"
roundTo="-1MINUTE" /> (Shalin)
> # <fieldType name="date" class="solr.DateField" sortMissingLast="true" omitNorms="true"
round="DOWN_MINUTE" /> (Otis)
> Hoss proposed more general enhancements related to arbitary pre-processing of values
prior to indexing/storing using pre-processing analyzers.
> This issue aims to build a consensus on the solution to pursue and to implement that
solution inside Solr.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message