LUCENE-9267 Replace getQueryBuildTime time unit from ms to ns

This commit is contained in:
Pierre-Luc Perron 2020-03-07 12:42:07 -05:00 committed by Mike Drob
parent 849fb63921
commit 013e98347a
3 changed files with 5 additions and 2 deletions

View File

@ -119,6 +119,9 @@ Other
* LUCENE-9344: Convert .txt files to properly formatted .md files. (Tomoko Uchida, Uwe Schindler) * LUCENE-9344: Convert .txt files to properly formatted .md files. (Tomoko Uchida, Uwe Schindler)
* LUCENE-9267: Update MatchingQueries documentation to correct
time unit. (Pierre-Luc Perron via Mike Drob)
======================= Lucene 8.6.0 ======================= ======================= Lucene 8.6.0 =======================
API Changes API Changes

View File

@ -67,7 +67,7 @@ public class MatchingQueries<T extends QueryMatch> {
} }
/** /**
* @return how long (in ms) it took to build the Presearcher query for the matcher run * @return how long (in ns) it took to build the Presearcher query for the matcher run
*/ */
public long getQueryBuildTime() { public long getQueryBuildTime() {
return queryBuildTime; return queryBuildTime;

View File

@ -82,7 +82,7 @@ public class MultiMatchingQueries<T extends QueryMatch> {
} }
/** /**
* @return how long (in ms) it took to build the Presearcher query for the matcher run * @return how long (in ns) it took to build the Presearcher query for the matcher run
*/ */
public long getQueryBuildTime() { public long getQueryBuildTime() {
return queryBuildTime; return queryBuildTime;