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

Change PayloadIterator to not use top-level reader API

    Details

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

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

              Dates

              • Created:
                Updated:
                Resolved: