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

Allow updating multiple DocValues fields atomically

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.9, 6.0
    • core/index
    • None
    • New, Patch Available

    Description

      This has come up on the list (http://markmail.org/message/2wmpvksuwc5t57pg) – it would be good if we can allow updating several doc-values fields, atomically. It will also improve/simplify our tests, where today we index two fields, e.g. the field itself and a control field. In some multi-threaded tests, since we cannot be sure which updates came through first, we limit the test such that each thread updates a different set of fields, otherwise they will collide and it will be hard to verify the index in the end.

      I was working on a patch and it looks pretty simple to do, will post a patch shortly.

      Attachments

        1. LUCENE-5680.patch
          34 kB
          Shai Erera
        2. LUCENE-5680.patch
          27 kB
          Shai Erera
        3. LUCENE-5680.patch
          23 kB
          Shai Erera
        4. LUCENE-5680.patch
          23 kB
          Shai Erera

        Activity

          People

            shaie Shai Erera
            shaie Shai Erera
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment