mirror of https://github.com/apache/lucene.git
related to SOLR-201 - when I saw Shalin resolve that issue, i remembered noticing a while back that not declaring a defaultQuery caused all of the admin pages to fail with an NPE. the fix is pretty trivial
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@826163 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
09e187a533
commit
a4bf5482a8
|
@ -61,7 +61,7 @@
|
|||
{
|
||||
StringWriter tmp = new StringWriter();
|
||||
XML.escapeCharData
|
||||
(solrConfig.get("admin/defaultQuery/text()", null), tmp);
|
||||
(solrConfig.get("admin/defaultQuery/text()", ""), tmp);
|
||||
defaultSearch = tmp.toString();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue