Skip to content

Commit

Permalink
add prefix _nlpcn
Browse files Browse the repository at this point in the history
  • Loading branch information
shi-yuan committed Dec 29, 2019
1 parent e1cb23f commit 571c213
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions elasticsearch-sql-site/controllers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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"));
Expand Down

0 comments on commit 571c213

Please sign in to comment.