Gus Heck created SOLR-12030:
-------------------------------
Summary: 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
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]