Author: hossman
Date: Sat Oct 17 02:37:09 2009
New Revision: 826163

URL: http://svn.apache.org/viewvc?rev=826163&view=rev
Log:
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

Modified:
    lucene/solr/trunk/src/webapp/web/admin/_info.jsp

Modified: lucene/solr/trunk/src/webapp/web/admin/_info.jsp
URL: 
http://svn.apache.org/viewvc/lucene/solr/trunk/src/webapp/web/admin/_info.jsp?rev=826163&r1=826162&r2=826163&view=diff
==============================================================================
--- lucene/solr/trunk/src/webapp/web/admin/_info.jsp (original)
+++ lucene/solr/trunk/src/webapp/web/admin/_info.jsp Sat Oct 17 02:37:09 2009
@@ -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();
   }
 
@@ -107,4 +107,4 @@
   
   String cwd=System.getProperty("user.dir");
   String solrHome= solrConfig.getInstanceDir();
-%>
\ No newline at end of file
+%>


Reply via email to