Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 17589467A for ; Wed, 8 Jun 2011 10:46:21 +0000 (UTC) Received: (qmail 40008 invoked by uid 500); 8 Jun 2011 10:46:19 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 39955 invoked by uid 500); 8 Jun 2011 10:46:19 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 39948 invoked by uid 99); 8 Jun 2011 10:46:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jun 2011 10:46:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jun 2011 10:46:18 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id D6BED107FBF for ; Wed, 8 Jun 2011 10:45:58 +0000 (UTC) Date: Wed, 8 Jun 2011 10:45:58 +0000 (UTC) From: "Koji Sekiguchi (JIRA)" To: dev@lucene.apache.org Message-ID: <1706996450.2832.1307529958876.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <191609426.1542.1307484779133.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (SOLR-2579) UIMAUpdateRequestProcessor ignore error fails if text.length() < 0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-2579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Koji Sekiguchi updated SOLR-2579: --------------------------------- Fix Version/s: 3.2.1 Good catch, Elmer! I'm on traveling now. I'll look at this later today. > UIMAUpdateRequestProcessor ignore error fails if text.length() < 0 > ------------------------------------------------------------------ > > Key: SOLR-2579 > URL: https://issues.apache.org/jira/browse/SOLR-2579 > Project: Solr > Issue Type: Bug > Affects Versions: 3.2 > Reporter: Elmer Garduno > Assignee: Koji Sekiguchi > Priority: Minor > Fix For: 3.2.1, 3.3 > > Attachments: SOLR-2579.patch > > > 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(e.getLocalizedMessage()).append(optionalFieldInfo) > .append(" text=\"").append(text.substring(0, 100)).append("...\"").toString()); > else{ > throw new SolrException(ErrorCode.SERVER_ERROR, > new StringBuilder("processing error: ") > .append(e.getLocalizedMessage()).append(optionalFieldInfo) > .append(" text=\"").append(text.substring(0, 100)).append("...\"").toString(), e); > } > I'm submitting a patch. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org