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

improve termquery "pk lookup" performance

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.1
    • core/search
    • None
    • New, Patch Available

    Description

      For things that are like primary keys and don't exist in some segments (worst case is primary/unique key that only exists in 1)
      we do wasted seeks.

      While LUCENE-2694 tries to solve some of this issue with TermState, I'm concerned we could every backport that to 3.1 for example.

      This is a simpler solution here just to solve this one problem in termquery... we could just revert it in trunk when we resolve LUCENE-2694,
      but I don't think we should leave things as they are in 3.x

      Attachments

        1. LUCENE-2829.patch
          2 kB
          Robert Muir
        2. LUCENE-2829.patch
          14 kB
          Michael McCandless
        3. LUCENE-2829.patch
          16 kB
          Michael McCandless

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: