You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Gus Heck (JIRA)" <ji...@apache.org> on 2018/02/25 21:09:00 UTC
[jira] [Updated] (SOLR-12030) Exception Class to identify out of
range docs vs other errors
[ https://issues.apache.org/jira/browse/SOLR-12030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gus Heck updated SOLR-12030:
----------------------------
Attachment: SOLR-12030.patch
> Exception Class to identify out of range docs vs other errors
> -------------------------------------------------------------
>
> Key: SOLR-12030
> URL: https://issues.apache.org/jira/browse/SOLR-12030
> Project: Solr
> Issue Type: Sub-task
> Security Level: Public(Default Security Level. Issues are Public)
> Components: SolrCloud
> Affects Versions: master (8.0)
> Reporter: Gus Heck
> Priority: Minor
> Attachments: SOLR-12030.patch
>
>
> I noticed in my writing of the stress test in SOLR-11949 that I had been forced to parse an exception message to identify the cases where the document was out of range (an expected condition) vs other solr errors. The attached patch supplies a custom exception class that can be explicitly checked for via traversing getCause() (or inspecting getThrowables() or getMetadata().get("root-error-class") )
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org