Skip to content

Apache Lucene open-source search software

SOLR-451: minor change to make analysis use POST instead of GET. Also made the input area a little bigger to make it more readable.

Grant Ingersolld075a69c014d
diff --git a/CHANGES.txt b/CHANGES.txt
index 902811141a8..396465ea64c 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -301,6 +301,8 @@ Other Changes
8. Upgraded to Lucene 2.3.0; Jan 23, 2008.
+ 9. SOLR-451: Changed analysis.jsp to use POST instead of GET, also made the input area a bit bigger (gsingers)
+
Build
1. SOLR-411. Changed the names of the Solr JARs to use the defacto standard JAR names based on
project-name-version.jar. This yields, for example:
diff --git a/src/webapp/resources/admin/analysis.jsp b/src/webapp/resources/admin/analysis.jsp
index a1536efbb70..b3c303b3ec2 100644
--- a/src/webapp/resources/admin/analysis.jsp
+++ b/src/webapp/resources/admin/analysis.jsp
@@ -59,7 +59,7 @@
<h2>Field Analysis</h2>
-<form method="GET" action="analysis.jsp">
+<form method="POST" action="analysis.jsp">
<table>
<tr>
<td>
@@ -85,7 +85,7 @@
<%= highlight ? "checked=\"true\"" : "" %> >
</td>
<td>
- <textarea class="std" rows="3" cols="70" name="val"><% XML.escapeCharData(val,out); %></textarea>
+ <textarea class="std" rows="8" cols="70" name="val"><% XML.escapeCharData(val,out); %></textarea>
</td>
</tr>
<tr>
diff --git a/src/webapp/resources/admin/analysis.xsl b/src/webapp/resources/admin/analysis.xsl
index ae301aad802..e2b48f27048 100644
--- a/src/webapp/resources/admin/analysis.xsl
+++ b/src/webapp/resources/admin/analysis.xsl
@@ -53,7 +53,7 @@
<xsl:include href="meta.xsl"/>
<xsl:template match="solr/analysis/form">
- <form method="GET" action="analysis.jsp">
+ <form method="POST" action="analysis.jsp">
<table>
<tr>
<td>
@@ -72,7 +72,7 @@
highlight matches <input name="highlight" type="checkbox" checked="true"/>
</td>
<td>
- <textarea class="std" rows="3" cols="70" name="val"><xsl:value-of select="fieldIndexValue" /></textarea>
+ <textarea class="std" rows="8" cols="70" name="val"><xsl:value-of select="fieldIndexValue" /></textarea>
</td>
</tr>
<tr>