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

Allow DV updates for not existing fields

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 7.4, 8.0
    • 7.4, 8.0
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: