我有一个字段,它是一个句子(字符串)数组。如果单词在句子中,我想在数组内搜索。Elasticsearch查询:在句子数组中匹配单词
"fields": {
"title": [
"The book of the world"
]
}
的简单查询 “书” 不返回预期的结果:
GET catalog/_search
{
"fields" : "title",
"query":{
"match" : {
"title":"book"
}
}
}
你有一个想法?
能告诉你的映射? GET目录/ _映射 – Miek
映射是:''tokenizer“:”standard“' – OussamaM