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

Provide consistent IW behavior for illegal meta data changes

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0-ALPHA
    • 4.0-ALPHA, 4.1, 6.0
    • core/index
    • None
    • New, Patch Available

    Description

      Currently IW fails late and inconsistent if field metadata like an already defined DocValues type or "un"-omitting norms.

      we can approach this similar to how we handle consistent field number and:

      • throw exception if indexOptions conflict (e.g. omitTF=true versus
        false) instead of silently dropping positions on merge
      • same with omitNorms
      • same with norms types and docvalues types
      • still keeping field numbers consistent

      this way we could eliminate all these traps and just give an
      exception instead.

      Attachments

        1. LUCENE-4087.patch
          63 kB
          Simon Willnauer
        2. LUCENE-4087.patch
          31 kB
          Simon Willnauer

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: