Frank Zhu created LUCENE-9513:
---------------------------------

             Summary: Use seconds instead of millisecs
                 Key: LUCENE-9513
                 URL: https://issues.apache.org/jira/browse/LUCENE-9513
             Project: Lucene - Core
          Issue Type: Improvement
          Components: core/other
    Affects Versions: 8.6.2, master (9.0)
            Reporter: Frank Zhu


In RangeFacetsExample, there is a trivial mistake where 

private final long nowSec is supposed to be secs. 


But it uses as millisecs.

It doesn't affect the output due to the scale change (It will just make 
PAST_HOUR, PAST_SIX_HOURS not as intended). Still it's better to be correct.

 

I've created a pull request on github with the simple fix.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to