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