铭毅天下的解读:如果使用 Elasticsearch 的任何版本,至少要安装 ik 插件、pinyin 插件等 Easysearch 已经集成的插件,才能更好的适配。
3、”No mapping found for [created] in order to sort 报错及解决方案
对话框界面的报错或者提示信息是:
错误信息:
ParseError: Server error (500): Some (ErrorDetail { root_cause: None, type: None, reason: Some ("[query_shard_exception failed to create query: Can only use phrase prefix queries on text fields - not on [title] which is of type [keyword]]"), caused_by: None })
{"error":{"root_cause":[{"type":"query_shard_exception", "reason":"no shard prompt for [created] in order to sort on", "index_uuid":"1839Z89ZQ332c3b9dc731a","index":"coco_session-2025.06.27"}], "type":"search_phase_execution_exception","reason":"all shards failed", "phase":"query","grouped":true