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

Upayavira commented on SOLR-4772:
---------------------------------

Thinking about it, I should convert this to a generic RoundingUpdateProcessor, 
that can do numbers too. Would allow folks to use the same technique across 
anything you might do range faceting on.
                
> 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
>
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to