You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ep...@apache.org on 2022/07/29 17:15:38 UTC

[solr] branch main updated: SOLR-16316: Fix debug query clicking on the query UI does not show the debug.explain.structured option (#956)

This is an automated email from the ASF dual-hosted git repository.

epugh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/main by this push:
     new 902b66bad17 SOLR-16316: Fix debug query clicking on the query UI does not show the debug.explain.structured option (#956)
902b66bad17 is described below

commit 902b66bad177bc735e7964474907bbb1a9b49ca1
Author: Shiming Li <li...@live.com>
AuthorDate: Sat Jul 30 01:15:30 2022 +0800

    SOLR-16316: Fix debug query clicking on the query UI does not show the debug.explain.structured option (#956)
---
 solr/CHANGES.txt                    | 2 ++
 solr/webapp/web/partials/query.html | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

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">