[
https://issues.apache.org/jira/browse/LUCENE-9513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael McCandless resolved LUCENE-9513.
----------------------------------------
Fix Version/s: 8.7
Resolution: Fixed
Thanks [~frankmanzhu]!
> 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: master (9.0), 8.6.2
> Reporter: Frank Zhu
> Priority: Trivial
> Fix For: master (9.0), 8.7
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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.
> https://github.com/apache/lucene-solr/pull/1846
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]