Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-8731

onException behavior in search components

    XMLWordPrintableJSON

Details

    Description

      The idea is to allow search components to execute logic in case an exception was thrown while processing a query.
      A new "onException" function can be added to the SearchComponent class. Then, parts of SearchHandler's handle-request functions can be surrounded in a try-catch block, where onException is called within the catch section on all relevant SearchComponents.

      Attachments

        1. SOLR-8731.patch
          6 kB
          Dean Gurvitz

        Activity

          People

            Unassigned Unassigned
            deansg Dean Gurvitz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: