[
https://issues.apache.org/jira/browse/SOLR-741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835008#action_12835008
]
Hoss Man commented on SOLR-741:
-------------------------------
bq. With the introduction of Trie fields is it not irrelevant now? can we close
it
TrieFields make it more efficient to do range searches on numeric fields
indexed at full precision, but it doesn't actually do anything to round the
fields for people who genuinely want their stored and index values to only have
second/minute/hour/day precision regardless of what the initial raw data looks
like.
So while TrieFields definitely make this less of a priority from a performance
standpoint, it doens't solve hte full problem.
(Unless i'm missing something, actually rounding the values prior to indexing
will still help improve performance in general because it will reduce the total
number of Terms ... with TrieFields isn't the original value is always indexed
regardless of the precisionStep?
> 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: 1.5
>
>
> 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.