Skip to content
Snippets Groups Projects
Commit 3e121d10 authored by Ere Maijala's avatar Ere Maijala Committed by Robert Lange
Browse files

Treat invalid date errors from Solr as parser errors. (#1763)

parent cad41c4c
No related merge requests found
......@@ -102,6 +102,7 @@ class ErrorListener extends AbstractErrorListener
$reason = $body->error->msg;
if (stristr($reason, 'org.apache.solr.search.SyntaxError')
|| stristr($reason, 'undefined field')
|| stristr($reason, 'invalid date')
) {
$tags[] = self::TAG_PARSER_ERROR;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment