From 571c213a71a2eb8b9f5258af1a9648003279b102 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9F=B3=E6=BA=90?= Date: Sun, 29 Dec 2019 21:23:06 +0800 Subject: [PATCH] add prefix _nlpcn --- elasticsearch-sql-site/controllers.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/elasticsearch-sql-site/controllers.js b/elasticsearch-sql-site/controllers.js index 424143b..eb52fc5 100644 --- a/elasticsearch-sql-site/controllers.js +++ b/elasticsearch-sql-site/controllers.js @@ -181,7 +181,7 @@ function updateWithScrollIfNeeded (query) { query = selectedQuery; } query = updateWithScrollIfNeeded(query); - $http.post($scope.url + "_sql", query) + $http.post($scope.url + "_nlpcn/sql", query) .success(function(data, status, headers, config) { var handler = ResultHandlerFactory.create(data,$scope.config.isFlat,$scope.config.showScore,$scope.config.showType,$scope.config.showId); updateDescription(handler); @@ -248,7 +248,7 @@ function updateWithScrollIfNeeded (query) { saveUrl() var query = window.editor.getValue(); - $http.post($scope.url + "_sql/_explain", query) + $http.post($scope.url + "_nlpcn/sql/explain", query) .success(function(data, status, headers, config) { $scope.resultExplan = true; window.explanResult.setValue(JSON.stringify(data, null, "\t"));