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

Exception strategy for analysis improved

    XMLWordPrintableJSON

Details

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

    Description

      SOLR-5623 included some conversation about the dilemmas of exception management and reporting in the analysis chain.

      I've belatedly become educated about the infostream, and this situation is a job for it. The DocInverterPerField can note exceptions in the analysis chain, log out to the infostream, and then rethrow them as before. No wrapping, no muss, no fuss.

      There are comments on this JIRA from a more complex prior idea that readers might want to ignore.

      Attachments

        1. LUCENE-5405-4.x.patch
          4 kB
          Benson Margulies

        Issue Links

          Activity

            People

              bmargulies Benson Margulies
              bmargulies Benson Margulies
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: