mirror of https://github.com/apache/lucene.git
SOLR-10377: add debug.explain.structured to Admin UI
* This param would be displayed only if debugQuery is selected
This commit is contained in:
parent
96d400f511
commit
b5a190b576
|
@ -89,8 +89,6 @@ New Features
|
|||
|
||||
* SOLR-13553: Node level custom RequestHandlers (noble)
|
||||
|
||||
|
||||
|
||||
Improvements
|
||||
----------------------
|
||||
|
||||
|
@ -109,6 +107,8 @@ Other Changes
|
|||
|
||||
* SOLR-12870: Use StandardCharsets instead of String values (Peter Somogyi via Munendra S N)
|
||||
|
||||
* SOLR-10377: Add `debug.explain.structured` to Admin UI. (David Smiley, Munendra S N)
|
||||
|
||||
================== 8.2.0 ==================
|
||||
|
||||
Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
|
||||
|
|
|
@ -28,6 +28,7 @@ solrAdminApp.controller('QueryController',
|
|||
$scope.facet = {facet: "on"};
|
||||
$scope.spatial = {};
|
||||
$scope.spellcheck = {spellcheck:"on"};
|
||||
$scope.debugQuery = {debugQuery: "on"};
|
||||
$scope.qt = "/select";
|
||||
|
||||
$scope.doQuery = function() {
|
||||
|
@ -58,6 +59,7 @@ solrAdminApp.controller('QueryController',
|
|||
if ($scope.isFacet) copy(params, $scope.facet);
|
||||
if ($scope.isSpatial) copy(params, $scope.spatial);
|
||||
if ($scope.isSpellcheck) copy(params, $scope.spellcheck);
|
||||
if ($scope.isDebugQuery) copy(params, $scope.debugQuery);
|
||||
|
||||
if ($scope.rawParams) {
|
||||
var rawParams = $scope.rawParams.split(/[&\n]/);
|
||||
|
|
|
@ -92,9 +92,21 @@ limitations under the License.
|
|||
indent off
|
||||
</label>
|
||||
|
||||
<label for="debugQuery" class="checkbox" title="Show timing and diagnostics.">
|
||||
<input type="checkbox" ng-model="query.debugQuery" name="debugQuery" id="debugQuery" title="Show timing and diagnostics." ng-true-value="'on'" ng-false-value="''">
|
||||
debugQuery
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<fieldset class="debugQuery optional">
|
||||
<legend>
|
||||
<label for="debugQuery" class="checkbox" title="Show timing and diagnostics.">
|
||||
<input type="checkbox" ng-model="isDebugQuery" name="debugQuery" id="debugQuery" value="true">
|
||||
debugQuery
|
||||
</label>
|
||||
</legend>
|
||||
<div class="fieldset" ng-show="isDebugQuery">
|
||||
|
||||
<label for="debug_explain_structured" class="checkbox" title="Show Score explanations as nested structures.">
|
||||
<input type="checkbox" ng-model="debugQuery['debug.explain.structured']" name="debug.explain.structured" id="debug_explain_structured" value="true">
|
||||
debug.explain.structured
|
||||
</label>
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue