[ 
https://issues.apache.org/jira/browse/SOLR-2310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Koji Sekiguchi updated SOLR-2310:
---------------------------------

             Priority: Trivial  (was: Major)
    Affects Version/s:     (was: 4.0)
                       1.3
                       1.4
                       1.4.1
        Fix Version/s: 4.0
                       3.1

> DocBuilder's getTimeElapsedSince Error
> --------------------------------------
>
>                 Key: SOLR-2310
>                 URL: https://issues.apache.org/jira/browse/SOLR-2310
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler
>    Affects Versions: 1.3, 1.4, 1.4.1
>         Environment: JDK1.6
>            Reporter: tom liu
>            Assignee: Koji Sekiguchi
>            Priority: Trivial
>             Fix For: 3.1, 4.0
>
>
> i has a job which runs about 65 hours, but the dataimport?command=status http 
> requests returns 5 hours.
> in getTimeElapsedSince method of DocBuilder:
> {noformat} 
> static String getTimeElapsedSince(long l) {
>     l = System.currentTimeMillis() - l;
>     return (l / (60000 * 60)) % 60 + ":" + (l / 60000) % 60 + ":" + (l / 1000)
>             % 60 + "." + l % 1000;
>   }
> {noformat} 
> the hours Compute is wrong, it mould be :
> {noformat} 
> static String getTimeElapsedSince(long l) {
>     l = System.currentTimeMillis() - l;
>     return (l / (60000 * 60)) + ":" + (l / 60000) % 60 + ":" + (l / 1000)
>             % 60 + "." + l % 1000;
>   }
> {noformat} 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to