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

Custom analyzer load exceptions are not logged.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.2, 4.0-ALPHA
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: