|
@ -49,7 +49,7 @@ |
|
|
searchParms.query.multi_match.query = searchVal; |
|
|
searchParms.query.multi_match.query = searchVal; |
|
|
var stringify = JSON.stringify(searchParms); |
|
|
var stringify = JSON.stringify(searchParms); |
|
|
$.ajax({ |
|
|
$.ajax({ |
|
|
url: "http://106.12.3.97:8209/beeblog/beeblog/_search", //请求的url地址 |
|
|
url: "https://www.aiprose.com/es/search", //请求的url地址 |
|
|
headers: {'Content-Type': 'application/json;charset=utf8'}, |
|
|
headers: {'Content-Type': 'application/json;charset=utf8'}, |
|
|
dataType: "json", //返回格式为json |
|
|
dataType: "json", //返回格式为json |
|
|
async: true,//请求是否异步,默认为异步,这也是ajax重要特性 |
|
|
async: true,//请求是否异步,默认为异步,这也是ajax重要特性 |
|
|