lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Koji Sekiguchi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-2579) UIMAUpdateRequestProcessor ignore error fails if text.length() < 0
Date Wed, 08 Jun 2011 10:45:58 GMT

     [ 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


Mime
View raw message