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

Change PayloadIterator to not use top-level reader API

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.1, 6.0
    • modules/facet
    • None
    • New, Patch Available

    Description

      Currently the facet module uses MultiFields.* to pull the D&PEnum in PayloadIterator, to access the payloads that store the facet ords.

      It then makes heavy use of .advance and .getPayload to visit all docIDs in the result set.

      I think we should get some speedup if we go segment by segment instead ...

      Attachments

        1. LUCENE-4598.patch
          7 kB
          Michael McCandless
        2. LUCENE-4598.patch
          11 kB
          Shai Erera
        3. LUCENE-4598.patch
          7 kB
          Shai Erera
        4. LUCENE-4598.patch
          6 kB
          Shai Erera

        Activity

          People

            shaie Shai Erera
            mikemccand Michael McCandless
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: