Skip to content

Apache Lucene open-source search software

SOLR-4306: Utilize indexInfo=false when gathering core names in UI

Stefan Matheis1398a0262d57
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 9ea9b2fd4da..d1d8d2f5186 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -107,6 +107,9 @@ Optimizations
* SOLR-3915: Color Legend for Cloud UI (steffkes)
+* SOLR-4306: Utilize indexInfo=false when gathering core names in UI
+ (steffkes)
+
Other Changes
----------------------
diff --git a/solr/webapp/web/js/scripts/app.js b/solr/webapp/web/js/scripts/app.js
index 78842778780..adbabadb366 100644
--- a/solr/webapp/web/js/scripts/app.js
+++ b/solr/webapp/web/js/scripts/app.js
@@ -277,7 +277,7 @@ var solr_admin = function( app_config )
$.ajax
(
{
- url : config.solr_path + config.core_admin_path + '?wt=json',
+ url : config.solr_path + config.core_admin_path + '?wt=json&indexInfo=false',
dataType : 'json',
beforeSend : function( arr, form, options )
{
diff --git a/solr/webapp/web/js/scripts/cores.js b/solr/webapp/web/js/scripts/cores.js
index 623f09e576f..0ee5cc88e3e 100644
--- a/solr/webapp/web/js/scripts/cores.js
+++ b/solr/webapp/web/js/scripts/cores.js
@@ -20,12 +20,6 @@ sammy.bind
'cores_load_data',
function( event, params )
{
- if( app.cores_data )
- {
- params.callback( app.cores_data );
- return true;
- }
-
$.ajax
(
{
@@ -335,7 +329,7 @@ sammy.get
.ajaxForm
(
{
- url : app.config.solr_path + app.config.core_admin_path + '?wt=json',
+ url : app.config.solr_path + app.config.core_admin_path + '?wt=json&indexInfo=false',
dataType : 'json',
beforeSubmit : function( array, form, options )
{