[
https://issues.apache.org/jira/browse/SOLR-2512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
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:
{code}
<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>
{code}
It is effective regardless of ignoreErrors setting (see the patch).
> uima: add an ability to skip runtime error in AnalysisEngine
> ------------------------------------------------------------
>
> Key: SOLR-2512
> URL: https://issues.apache.org/jira/browse/SOLR-2512
> 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: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]