lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Koji Sekiguchi (JIRA)" <>
Subject [jira] [Updated] (SOLR-2512) uima: add an ability to skip runtime error in AnalysisEngine
Date Thu, 12 May 2011 22:33:47 GMT


Koji Sekiguchi updated SOLR-2512:

    Attachment: SOLR-2512.patch

Updated patch attached. I understand the requirement for logging uniqueKey. In this patch,
I introduced optional parameter logField:

<bool name="ignoreErrors">true</bool>
<!-- This is optional. It is used for logging when text processing fails. Usually, set
uniqueKey field name -->
<str name="logField">id</str>

It is effective regardless of ignoreErrors setting (see the patch).

> uima: add an ability to skip runtime error in AnalysisEngine
> ------------------------------------------------------------
>                 Key: SOLR-2512
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 3.1
>            Reporter: Koji Sekiguchi
>            Priority: Minor
>             Fix For: 3.2, 4.0
>         Attachments: SOLR-2512.patch, SOLR-2512.patch, SOLR-2512.patch, SOLR-2512.patch
> Currently, if AnalysisEngine throws an exception during processing a text, whole adding
docs go fail. Because online NLP services are error-prone, users should be able to choose
whether solr skips the text processing (but source text can be indexed) for the document or
throws a runtime exception so that solr can stop adding documents entirely.

This message is automatically generated by JIRA.
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message