Skip to content

Apache Lucene open-source search software

SOLR-3811: Query Form using wrong values for dismax, edismax

Stefan Matheisd7d79ad7c5c2
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 11d94b9867e..772530a3c12 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -165,6 +165,8 @@ Bug Fixes
* SOLR-3569: Fixed debug output on distributed requests when there are no
results found. (David Bowen via hossman)
+* SOLR-3811: Query Form using wrong values for dismax, edismax (steffkes)
+
Other Changes
----------------------
diff --git a/solr/webapp/web/tpl/query.html b/solr/webapp/web/tpl/query.html
index 49adbd76d69..e93479ada20 100644
--- a/solr/webapp/web/tpl/query.html
+++ b/solr/webapp/web/tpl/query.html
@@ -84,7 +84,7 @@ limitations under the License.
<fieldset class="dismax optional">
<legend>
<label for="dismax" class="checkbox">
- <input type="checkbox" name="dismax" id="dismax" value="true">
+ <input type="checkbox" name="defType" id="dismax" value="dismax">
dismax
</label>
</legend>
@@ -123,7 +123,7 @@ limitations under the License.
<fieldset class="edismax optional">
<legend>
<label for="edismax" class="checkbox">
- <input type="checkbox" name="edismax" id="edismax" value="true">
+ <input type="checkbox" name="defType" id="edismax" value="edismax">
<strong>e</strong>dismax
</label>
</legend>