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

Add IndexSearcher.getSlices

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.5, 8.0
    • None
    • None
    • New

    Description

      When you pass an executor to IndexSearcher, it creates a LeafSlice[] slices, by default once slice per leaf, but a subclass can override.  It's helpful to later be able to get those slices e.g. if you want to do your own concurrent per-slice processing.

      This patch will just add a getter to IndexSearcher, and make the LeafSlice.leaves member public.

      Attachments

        1. LUCENE-8387.patch
          3 kB
          Michael McCandless
        2. LUCENE-8387.patch
          3 kB
          Michael McCandless

        Activity

          People

            mikemccand Michael McCandless
            mikemccand Michael McCandless
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: