owl-cli 5.34.0 → 5.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -194,7 +194,7 @@ function buildSort(sort){
|
|
|
194
194
|
var basicAuth = "Basic " + auth;
|
|
195
195
|
headers["Authorization"] = basicAuth;
|
|
196
196
|
}
|
|
197
|
-
var searchUrl = elasticSearchUrl+"/
|
|
197
|
+
var searchUrl = elasticSearchUrl+"/@projectCode/_search";
|
|
198
198
|
|
|
199
199
|
var sndTxt = JSON.stringify(query);
|
|
200
200
|
$.log(sndTxt);
|
|
@@ -209,7 +209,7 @@ function buildSort(sort){
|
|
|
209
209
|
var objs = hits.map(function(hit){return hit._source});
|
|
210
210
|
|
|
211
211
|
|
|
212
|
-
var countUrl = elasticSearchUrl+"/
|
|
212
|
+
var countUrl = elasticSearchUrl+"/@projectCode/_count";
|
|
213
213
|
|
|
214
214
|
var ss = HttpUtils.postRaw( countUrl, sndTxt, headers);
|
|
215
215
|
var cr = JSON.parse(ss);
|