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

speed up MatchingPoints cost() estimation

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.1, 7.0
    • None
    • None
    • New

    Description

      MatchingPoints currently tracks a counter in the super-hot add() loop. While not a big deal, we can easily just use the grow() api for this instead (which is only currently called e.g. every 1k docs).

      Attachments

        1. LUCENE-7259.patch
          4 kB
          Robert Muir

        Activity

          People

            Unassigned Unassigned
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: