You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alexandre Rafalovitch (JIRA)" <ji...@apache.org> on 2014/06/25 09:20:25 UTC
[jira] [Commented] (SOLR-741) Add support for rounding dates in
DateField
[ https://issues.apache.org/jira/browse/SOLR-741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14043126#comment-14043126 ]
Alexandre Rafalovitch commented on SOLR-741:
--------------------------------------------
Looks like UpdateRequestProcessor is the best answer here. Should be safe to close?
> Add support for rounding dates in DateField
> -------------------------------------------
>
> Key: SOLR-741
> URL: https://issues.apache.org/jira/browse/SOLR-741
> Project: Solr
> Issue Type: Improvement
> Components: search
> Affects Versions: 1.4
> Reporter: Shalin Shekhar Mangar
> Priority: Minor
> Fix For: 4.9, 5.0
>
>
> As discussed at http://www.nabble.com/Rounding-date-fields-td19203108.html
> 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 was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org