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:
Chris M. Hostetter 2009-10-17 02:37:09 +00:00
parent 09e187a533
commit a4bf5482a8
1 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@
{ {
StringWriter tmp = new StringWriter(); StringWriter tmp = new StringWriter();
XML.escapeCharData XML.escapeCharData
(solrConfig.get("admin/defaultQuery/text()", null), tmp); (solrConfig.get("admin/defaultQuery/text()", ""), tmp);
defaultSearch = tmp.toString(); defaultSearch = tmp.toString();
} }