Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-16316: Fix debug query clicking on the query UI does not show the debug.explain.structured option (#956)

Shiming Li902b66bad177
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index e18d37d7492..0cad7a9ee0a 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -109,6 +109,8 @@ Bug Fixes
* SOLR-9661: Fix explanation of select() streaming expression that uses replace() operation (Ahmet Can Kepenek via Eric Pugh)
+* SOLR-16316: Fix debugQuery clicking on the Query UI does not show the debug.explain.structured option. (Shiming Li via Eric Pugh)
+
Other Changes
---------------------
* SOLR-16245: Make DenseVectorField codec agnostic (Elia Porciani via Alessandro Benedetti)
diff --git a/solr/webapp/web/partials/query.html b/solr/webapp/web/partials/query.html
index 58575eb8b9f..051d3c4d2a9 100644
--- a/solr/webapp/web/partials/query.html
+++ b/solr/webapp/web/partials/query.html
@@ -114,7 +114,7 @@ limitations under the License.
debugQuery
</label>
</legend>
- <div class="fieldset" ng-show="isDebugQuery">
+ <div class="fieldset" ng-show="val['debugQuery']">
<label for="debug_explain_structured" class="checkbox" title="Show Score explanations as nested structures.">
<input type="checkbox" ng-model="val['debug.explain.structured']" name="debug.explain.structured" id="debug_explain_structured" value="true">