You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mu...@apache.org on 2020/03/28 06:55:39 UTC

[lucene-solr] 01/03: SOLR-13842: remove redundant defaults from implictPlugins

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

munendrasn pushed a commit to branch branch_8x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git

commit f3d2c45fd909251309aafab48e4e728bcd9cd744
Author: Munendra S N <mu...@apache.org>
AuthorDate: Sat Mar 28 11:13:44 2020 +0530

    SOLR-13842: remove redundant defaults from implictPlugins
    
    * From 7.0, wt=json is the default and indent=true is the
      default. So, remove them from implicitPlugin defaults
---
 solr/CHANGES.txt                             |  2 ++
 solr/core/src/resources/ImplicitPlugins.json | 13 +------------
 2 files changed, 3 insertions(+), 12 deletions(-)

diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 3471802..698509e 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -61,6 +61,8 @@ Other Changes
 
 * SOLR-12353: SolrDispatchFilter expensive non-conditional debug line degrades performance (Pascal Proulx via Erick Erickson)
 
+* SOLR-13842: Remove redundant defaults from ImplicitPlugins.json (Munendra S N)
+
 ==================  8.5.0 ==================
 
 Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
diff --git a/solr/core/src/resources/ImplicitPlugins.json b/solr/core/src/resources/ImplicitPlugins.json
index dc66496..1796477 100644
--- a/solr/core/src/resources/ImplicitPlugins.json
+++ b/solr/core/src/resources/ImplicitPlugins.json
@@ -47,9 +47,7 @@
       "class": "solr.RealTimeGetHandler",
       "useParams":"_GET",
       "defaults": {
-        "omitHeader": true,
-        "wt": "json",
-        "indent": true
+        "omitHeader": true
       }
     },
     "/admin/ping": {
@@ -105,9 +103,6 @@
       "components": [
         "query"
       ],
-      "defaults": {
-        "wt": "json"
-      },
       "invariants": {
         "rq": "{!xport}",
         "distrib": false
@@ -124,9 +119,6 @@
     "/stream": {
       "class": "solr.StreamHandler",
       "useParams":"_STREAM",
-      "defaults": {
-        "wt": "json"
-      },
       "invariants": {
         "distrib": false
       }
@@ -134,9 +126,6 @@
     "/sql": {
       "class": "solr.SQLHandler",
       "useParams":"_SQL",
-      "defaults": {
-        "wt": "json"
-      },
       "invariants": {
         "distrib": false
       }