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

speed up MatchingPoints cost() estimation

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.1, 7.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: