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

Document is partially indexed on an unhandled exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3
    • 2.3
    • core/index
    • None
    • New

    Description

      With LUCENE-843, it's now possible for a subset of a document's
      fields/terms to be indexed or stored when an exception is hit. This
      was not the case in the past (it was "all or none").

      I plan to make it "all or none" again by immediately marking a
      document as deleted if any exception is hit while indexing it.

      Discussion leading up to this:

      http://www.gossamer-threads.com/lists/lucene/java-dev/56103

      Attachments

        1. LUCENE-1112.patch
          20 kB
          Michael McCandless
        2. lucene-1112-test.patch
          0.8 kB
          Doron Cohen

        Activity

          People

            mikemccand Michael McCandless
            mikemccand Michael McCandless
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: