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

Pass previous reader to SearcherFactory

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 5.0
    • 5.2, 6.0
    • core/search
    • None
    • New

    Description

      SearcherFactory is often used as advertised for warming segments for newly flushed segments or for searchers that are opened for the first time (generally where merge warmers don't apply). To make this simpler we should pass the previous reader to the factory as well to know what needs to be warmed.

      Attachments

        1. LUCENE-6377.patch
          11 kB
          Simon Willnauer
        2. LUCENE-6377.patch
          9 kB
          Simon Willnauer

        Activity

          People

            simonw Simon Willnauer
            simonw Simon Willnauer
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: