[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to