diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt index 6b0658c7f3b..4fa03534a21 100644 --- a/solr/CHANGES.txt +++ b/solr/CHANGES.txt @@ -93,6 +93,9 @@ Optimizations Other Changes * SOLR-10236: Removed FieldType.getNumericType(). Use getNumberType() instead. (Tomás Fernández Löbbe) +* SOLR-10347: Removed index level boost support from "documents" section of the admin UI (Amrit Sarkar via + Tomás Fernández Löbbe) + ---------------------- ================== 6.6.0 ================== diff --git a/solr/webapp/web/js/angular/controllers/documents.js b/solr/webapp/web/js/angular/controllers/documents.js index be37c9fbde7..d38265a0548 100644 --- a/solr/webapp/web/js/angular/controllers/documents.js +++ b/solr/webapp/web/js/angular/controllers/documents.js @@ -38,7 +38,6 @@ solrAdminApp.controller('DocumentsController', $scope.type = "json"; $scope.commitWithin = 1000; $scope.overwrite = true; - $scope.boost = "1.0"; }; $scope.refresh(); @@ -78,7 +77,6 @@ solrAdminApp.controller('DocumentsController', } params.commitWithin = $scope.commitWithin; - params.boost = $scope.boost; params.overwrite = $scope.overwrite; params.core = $routeParams.core; params.wt = "json"; diff --git a/solr/webapp/web/js/scripts/documents.js b/solr/webapp/web/js/scripts/documents.js index 9d12e2371c4..45cfbed7d88 100644 --- a/solr/webapp/web/js/scripts/documents.js +++ b/solr/webapp/web/js/scripts/documents.js @@ -29,7 +29,6 @@ var content_generator = { //Utiltity function for turning on/off various elements function toggles(documents_form, show_json, show_file, show_doc, doc_text, show_wizard) { - var json_only = $('#json-only'); var the_document = $('#document', documents_form); if (show_doc) { //console.log("doc: " + doc_text); @@ -38,11 +37,6 @@ function toggles(documents_form, show_json, show_file, show_doc, doc_text, show_ } else { the_document.hide(); } - if (show_json) { - json_only.show(); - } else { - json_only.hide(); - } var file_upload = $('#file-upload', documents_form); var upload_only = $('#upload-only', documents_form); if (show_file) { @@ -233,7 +227,6 @@ sammy.get .trigger('change'); var the_document = $('#document', documents_form).val(); var commit_within = $('#commitWithin', documents_form).val(); - var boost = $('#boost', documents_form).val(); var overwrite = $('#overwrite', documents_form).val(); var the_command = ""; var content_type = ""; @@ -245,7 +238,6 @@ sammy.get //create a JSON command the_command = "{" + '"add":{ "doc":' + the_document + "," - + '"boost":' + boost + "," + '"overwrite":' + overwrite + "," + '"commitWithin":' + commit_within + "}}"; diff --git a/solr/webapp/web/partials/documents.html b/solr/webapp/web/partials/documents.html index 74d034f279e..2bf3f12982d 100644 --- a/solr/webapp/web/partials/documents.html +++ b/solr/webapp/web/partials/documents.html @@ -88,13 +88,6 @@ - -