Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-9267

The documentation of getQueryBuildTime function reports a wrong time unit.

    XMLWordPrintableJSON

    Details

    • Lucene Fields:
      New

      Description

      As per documentation, the MatchingQueries class returns both getQueryBuildTime and getSearchTime in milliseconds. The code shows searchTime returning milliseconds. However, the code shows buildTime returning nanoseconds.

      The patch changes the documentation of getQueryBuildTime to report nanoseconds instead of milliseconds.

        Attachments

        1. LUCENE-9267.patch
          1 kB
          Pierre-Luc Perron

          Issue Links

            Activity

              People

              • Assignee:
                mdrob Mike Drob
                Reporter:
                pl.perron Pierre-Luc Perron
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m