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

Add checkindex piece of LUCENE-5116

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.5, 6.0
    • None
    • None
    • New

    Description

      LUCENE-5116 fixes addIndexes(Reader) to never write a 0-document segment (in the case you merge in empty or all-deleted stuff).

      I considered it just an inconsistency, but it could cause confusing exceptions to real users too if there was a "regression" here. (see solr users list:Split Shard Error - maxValue must be non-negative).

      Attachments

        1. LUCENE-5173_ugly.patch
          9 kB
          Robert Muir
        2. LUCENE-5173.patch
          10 kB
          Robert Muir
        3. LUCENE-5173.patch
          1 kB
          Robert Muir

        Activity

          People

            Unassigned Unassigned
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: