[ 
https://issues.apache.org/jira/browse/SOLR-4772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14044990#comment-14044990
 ] 

Shalin Shekhar Mangar commented on SOLR-4772:
---------------------------------------------

Can we have a test as well? Also, it'd be nice to upload this as a proper patch 
against trunk.

> DateRoundingUpdateProcessorFactory
> ----------------------------------
>
>                 Key: SOLR-4772
>                 URL: https://issues.apache.org/jira/browse/SOLR-4772
>             Project: Solr
>          Issue Type: Improvement
>          Components: update
>            Reporter: Upayavira
>            Priority: Minor
>         Attachments: DateRoundingUpdateProcessorFactory.zip, 
> DateRoundingUpdateProcessorFactory.zip, RoundingUpdateProcessorFactory.zip
>
>
> A simple UpdateProcessor that rounds dates using the DateMathParser.
> At present it is not possible to combine pivot faceting with range queries. 
> This simple UpdateProcessor allows us to round our dates on their way into 
> Solr, giving us date fields that can be used in pivot facets.
> This can be extremely useful when using facets to plot graphs based upon log 
> files indexed into Solr.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to