我的映射是:
"current_name" => [
"type" => "string",
"index" => "analyzed",
"analyzer" => "russian",
"fields" => [
"raw" => [
"type" => "string",
"index" => "not_analyzed"
],
"raw_lowercase" => [
"type" => "string",
"analyzer" => "tolowercase"
]
]
],
我需要使用以下原则示例(一起)搜索该领域:
索引字符串 - “猴子”。我需要通过“猴子”找到这份文件。
索引字符串 - “你好,我美丽的世界”。我需要有可能通过“ hello big world ”找到这个文件。
- 索引字符串 - “适当的”。我需要有可能通过“ apropriat ”找到这份文件。
总体:已编入索引-“地球行星是我们太阳系中最美丽的行星”。我想通过“地球是美丽的”找到这个文件。
所有这些原则都应该在用户输入查询时应用 - 快速搜索。语言是俄语。
可选:1)索引 - “伟大的工作”。我想通过同义词“好”来查找文档。2) 索引 - 由“beaut worl”找到的“美丽世界”
我怎样才能实现描述?您对将这些原则与快速搜索结合起来有何评论?