Solr
  1. Solr
  2. SOLR-2467

Custom analyzer load exceptions are not logged.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor 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.

        Activity

        Hide
        Robert Muir added a comment -

        Bulk close for 3.2

        Show
        Robert Muir added a comment - Bulk close for 3.2
        Hide
        Hoss Man added a comment -

        Thanks for reporting this Alex

        Committed revision 1098760.
        Committed revision 1098764.

        Show
        Hoss Man added a comment - Thanks for reporting this Alex Committed revision 1098760. Committed revision 1098764.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development