[ https://issues.apache.org/jira/browse/SOLR-528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lars Kotthoff updated SOLR-528: ------------------------------- Attachment: solr-default-search.patch Patch to create a more specific error message, i.e. "default search field 'foobar' not defined or not indexed" when raising the SolrException. > Given but undefined default search field in schema.xml causes cryptic error > message > ----------------------------------------------------------------------------------- > > Key: SOLR-528 > URL: https://issues.apache.org/jira/browse/SOLR-528 > Project: Solr > Issue Type: Improvement > Environment: Tomcat 5.5 > Reporter: Lars Kotthoff > Priority: Minor > Attachments: solr-default-search.patch > > > When a default search field is given in schema.xml but the field itself is > not defined, a generic SolrException with the message "Schema parsing failed" > is thrown. Only further down in the stacktrace the message "unknown field > 'foobar'" appears (and does not indicate where the unknown field is > referenced). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.