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] [Commented] (SOLR-2582) UIMAUpdateRequestProcessor error handling with small texts
Date Fri, 10 Jun 2011 00:01:59 GMT

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

Koji Sekiguchi commented on SOLR-2582:
--------------------------------------

bq. it's possible to get the uniquekey from the SolrCore passed in the initialize() method

Yep, we got solrCore. It was a blind side. I don't know why I passed over it!

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

Will do.

> 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