Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

default to latest XML output version, remove legacy getnumfound option

Yonik Seeleyc03c23bc416d
diff --git a/src/webapp/resources/admin/form.jsp b/src/webapp/resources/admin/form.jsp
index b7cbbe32e2a..624908bda41 100644
--- a/src/webapp/resources/admin/form.jsp
+++ b/src/webapp/resources/admin/form.jsp
@@ -7,26 +7,18 @@
<table>
<tr>
<td>
- <strong>SOLR/Lucene Statement</strong>
+ <strong>Solr/Lucene Statement</strong>
</td>
<td>
<textarea rows="5" cols="60" name="q"></textarea>
</td>
</tr>
-<tr>
- <td>
- <strong>Return Number Found</strong>
- </td>
- <td>
- <input name="getnumfound" type="checkbox" > <em><font size="-1">(Option ignored by SOLR... the number of matching documents is always returned)</font></em>
- </td>
-</tr>
<tr>
<td>
<strong>Protocol Version</strong>
</td>
<td>
- <input name="version" type="text" value="2.0">
+ <input name="version" type="text" value="2.1">
</td>
</tr>
<tr>
diff --git a/src/webapp/resources/admin/index.jsp b/src/webapp/resources/admin/index.jsp
index 351b8c15ae8..1cd53e9c2ee 100644
--- a/src/webapp/resources/admin/index.jsp
+++ b/src/webapp/resources/admin/index.jsp
@@ -86,7 +86,7 @@
<form method="GET" action="../select/">
<input name="stylesheet" type="text" value=""><br>
<textarea rows="4" cols="40" name="q"><%= defaultSearch %></textarea>
- <input name="version" type="hidden" value="2.0">
+ <input name="version" type="hidden" value="2.1">
<input name="start" type="hidden" value="0">
<input name="rows" type="hidden" value="10">
<input name="indent" type="hidden" value="on">