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

NearSpansOrdered does not lazy load payloads as the PayloadSpans javadoc implies

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.4, 2.4.1
    • 2.9
    • core/search
    • None
    • New, Patch Available

    Description

      Best would be to lazy load, but I don't see how with the current algorithm. Short that, we should add an option to ignore payloads - otherwise, if you are doing non payload searching, but the payloads are present, they will be needlessly loaded.

      Already added this to LUCENE-1748, but spinning from that issue to this - patch to follow when LUCENE-1748 is committed.

      Attachments

        1. LUCENE-1776.patch
          6 kB
          Mark Miller

        Activity

          People

            markrmiller@gmail.com Mark Miller
            markrmiller@gmail.com Mark Miller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: