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

Allow DV updates for not existing fields

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.4, 8.0
    • Fix Version/s: 7.4, 8.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Today we prevent DV updates for non-existing fields except
      of the soft deletes case. Yet, this can cause inconsitent field numbers
      etc. since we don't go through the global field number map etc. This
      change removes the limitation of updating DVs in docs even if the field
      doesn't exists. This also has the benefit that the error messages if
      the field type doesn't match is consistent with what DWPT throws.

        Attachments

        1. LUCENE-8316.patch
          5 kB
          Simon Willnauer
        2. LUCENE-8316.patch
          4 kB
          Simon Willnauer

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                simonw Simon Willnauer
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: