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

Custom analyzer load exceptions are not logged.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.1
    • 3.2, 4.0-ALPHA
    • None
    • None

    Description

      If any exception occurred on custom analyzer load the following catch code is working:

      solr/src/java/org/apache/solr/schema/IndexSchema.java
            } catch (Exception e) {
              throw new SolrException( SolrException.ErrorCode.SERVER_ERROR,
                    "Cannot load analyzer: "+analyzerName );
            }
      

      Analyzer load exception "e" is not logged at all.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kaa Alexander Kistanov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: