Erick Erickson created SOLR-9770:
------------------------------------
Summary: Solr should not cache queries that fail
Key: SOLR-9770
URL: https://issues.apache.org/jira/browse/SOLR-9770
Project: Solr
Issue Type: Improvement
Security Level: Public (Default Security Level. Issues are Public)
Affects Versions: trunk, 6.4
Reporter: Erick Erickson
Priority: Minor
Bram Van Dam on the user's list had a problem with a bad query causing an
exception:
java.lang.IllegalStateException: Too many values for UnInvertedField
faceting on field text.
Then the query apparently got into one of the caches and was then autowarmed
leading to the error every time a new searcher was opened.
This does _not_ happen with, say, a query that references an undefined field.
Such a query doesn't get into the cache in the first place.
I have not been able to verified this but it seems worth a JIRA to investigate
at least, no query that throws an exception should get into the caches. You can
imagine a situation where this leads to OOM errors and Solr needing to be
restarted to get past it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]