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

DocValuesDocIdSet: check deleted docs before doc values

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 5.0
    • None
    • None
    • New

    Description

      When live documents are not null, DocValuesDocIdSet checks if doc values match the document before the live docs. Given that checking if doc values match could involve a heavy computation (eg. geo distance) and that the default codec has live docs in memory but doc values on disk, I think it makes more sense to check live docs first?

      Attachments

        1. LUCENE-6022.patch
          2 kB
          Adrien Grand

        Activity

          People

            jpountz Adrien Grand
            jpountz Adrien Grand
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: