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

Do not allow changing soft-deletes field

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.4, 8.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      Patch Available

      Description

      Today we do not enforce an index to use a single soft-deletes field. A user can create an index with one soft-deletes field then open an IW with another field or add an index with a different soft-deletes field. This should not be allowed and reported the error to users as soon as possible.

        Attachments

        1. LUCENE-8335.patch
          48 kB
          Nhat Nguyen
        2. LUCENE-8335.patch
          37 kB
          Nhat Nguyen
        3. LUCENE-8335.patch
          35 kB
          Nhat Nguyen

          Activity

            People

            • Assignee:
              simonw Simon Willnauer
              Reporter:
              dnhatn Nhat Nguyen
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: