lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elmer Garduno (JIRA)" <>
Subject [jira] [Created] (SOLR-2579) UIMAUpdateRequestProcessor ignore error fails if text.length() < 0
Date Tue, 07 Jun 2011 22:12:59 GMT
UIMAUpdateRequestProcessor ignore error fails if text.length() < 0

                 Key: SOLR-2579
             Project: Solr
          Issue Type: Bug
    Affects Versions: 3.2
            Reporter: Elmer Garduno
            Priority: Minor
             Fix For: 3.3

If UIMAUpdateRequestProcessor is configured to ignore errors, an exception is raised when
logging the error and text.length() < 100.

      if (solrUIMAConfiguration.isIgnoreErrors())
        log.warn(new StringBuilder("skip the text processing due to ")
          .append(" text=\"").append(text.substring(0, 100)).append("...\"").toString());

        throw new SolrException(ErrorCode.SERVER_ERROR,
            new StringBuilder("processing error: ")
              .append(" text=\"").append(text.substring(0, 100)).append("...\"").toString(),

I'm submitting a patch.

This message is automatically generated by JIRA.
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message