The requested URL was not found on this server. 不管你信不信,反正我是没找到

拼音搜索用query_string可以高亮,为何用match_phrase就不能高亮了?

Elasticsearch | 作者 tygcs | 发布于2018年11月21日 | 阅读数:5102

如题,
 
match_phrase搜索报错如下:
 
{
"error" : {
"root_cause" : [
{
"type" : "array_index_out_of_bounds_exception",
"reason" : null
}
],
"type" : "search_phase_execution_exception",
"reason" : "all shards failed",
"phase" : "query",
"grouped" : true,
"failed_shards" : [
{
"shard" : 0,
"index" : "pinyin_index",
"node" : "gDlILShpRcaaiuzMO75Jcw",
"reason" : {
"type" : "array_index_out_of_bounds_exception",
"reason" : null
}
}
],
"caused_by" : {
"type" : "array_index_out_of_bounds_exception",
"reason" : null,
"caused_by" : {
"type" : "array_index_out_of_bounds_exception",
"reason" : null
}
}
},
"status" : 500
}

 不知道拼音搜索是如何处理offset的?
 
 
已邀请:

要回复问题请先登录注册