You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Yonik Seeley (Commented) (JIRA)" <ji...@apache.org> on 2011/11/18 15:36:51 UTC

[jira] [Commented] (SOLR-2772) DateField parsing/formatting issues of years 0001-1000

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

Yonik Seeley commented on SOLR-2772:
------------------------------------

If the only issue was years less than 1000, we might want to consider bringing back the original hand-rolled formatting code and fixing it.
A quick performance test shows it's over 4 times as fast.

Using the current code in DateField, I only got about 25K formats/sec.  To put that into perspective, formatting 100 dates takes 4ms - a non -trivial amount of time.
                
> DateField parsing/formatting issues of years 0001-1000
> ------------------------------------------------------
>
>                 Key: SOLR-2772
>                 URL: https://issues.apache.org/jira/browse/SOLR-2772
>             Project: Solr
>          Issue Type: Sub-task
>            Reporter: Hoss Man
>            Assignee: Hoss Man
>             Fix For: 3.5, 4.0
>
>
> see parent task for background

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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