mirror of https://github.com/apache/lucene.git
SOLR-10035 Fix dataimport to use the new names.
This commit is contained in:
parent
d4ece81833
commit
51ff50d76d
|
@ -30,7 +30,7 @@ public final class SolrMetricInfo {
|
|||
/**
|
||||
* Creates a new instance of {@link SolrMetricInfo}.
|
||||
*
|
||||
* @param category the category of the metric (e.g. `QUERYHANDLERS`)
|
||||
* @param category the category of the metric (e.g. `QUERY`)
|
||||
* @param scope the scope of the metric (e.g. `/admin/ping`)
|
||||
* @param name the name of the metric (e.g. `Requests`)
|
||||
*/
|
||||
|
@ -63,8 +63,8 @@ public final class SolrMetricInfo {
|
|||
/**
|
||||
* Returns the metric name defined by this object.
|
||||
* For example, if the name is `Requests`, scope is `/admin/ping`,
|
||||
* and category is `QUERYHANDLERS`, then the metric name is
|
||||
* `QUERYHANDLERS./admin/ping.Requests`.
|
||||
* and category is `QUERY`, then the metric name is
|
||||
* `QUERY./admin/ping.Requests`.
|
||||
*
|
||||
* @return the metric name defined by this object
|
||||
*/
|
||||
|
|
|
@ -22,7 +22,7 @@ solrAdminApp.controller('DataImportController',
|
|||
$scope.resetMenu("dataimport", Constants.IS_COLLECTION_PAGE);
|
||||
|
||||
$scope.refresh = function () {
|
||||
Mbeans.info({core: $routeParams.core, cat: 'QUERYHANDLER'}, function (data) {
|
||||
Mbeans.info({core: $routeParams.core, cat: 'QUERY'}, function (data) {
|
||||
var mbeans = data['solr-mbeans'][1];
|
||||
$scope.handlers = [];
|
||||
for (var key in mbeans) {
|
||||
|
|
|
@ -28,7 +28,7 @@ sammy.bind
|
|||
$.ajax
|
||||
(
|
||||
{
|
||||
url : core_basepath + '/admin/mbeans?cat=QUERYHANDLER&wt=json',
|
||||
url : core_basepath + '/admin/mbeans?cat=QUERY&wt=json',
|
||||
dataType : 'json',
|
||||
beforeSend : function( xhr, settings )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue