lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tommaso Teofili (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-2582) UIMAUpdateRequestProcessor error handling with small texts
Date Thu, 09 Jun 2011 13:53:58 GMT

    [ https://issues.apache.org/jira/browse/SOLR-2582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13046544#comment-13046544
] 

Tommaso Teofili commented on SOLR-2582:
---------------------------------------

I think they're related but the approach proposed here is slightly different since considers
the uniquekey instead of the text analyzed as the alternative to the logField. Maybe the best
solution is applying the patch in SOLR-2579 and then make the error message more useful with
other debugging informations.

> UIMAUpdateRequestProcessor error handling with small texts
> ----------------------------------------------------------
>
>                 Key: SOLR-2582
>                 URL: https://issues.apache.org/jira/browse/SOLR-2582
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 3.2
>            Reporter: Tommaso Teofili
>             Fix For: 3.3
>
>
> In UIMAUpdateRequestProcessor the catch block in processAdd() method can have a StringIndexOutOfBoundsException
while composing the error message if the logging field is not set and the text being processed
is shorter than 100 chars (...append(text.substring(0, 100))...).

--
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