我有一個字段,它是一個句子(字符串)數組。如果單詞在句子中,我想在數組內搜索。Elasticsearch查詢:在句子數組中匹配單詞
"fields": {
"title": [
"The book of the world"
]
}
的簡單查詢 「書」 不返回預期的結果:
GET catalog/_search
{
"fields" : "title",
"query":{
"match" : {
"title":"book"
}
}
}
你有一個想法?
能告訴你的映射? GET目錄/ _映射 – Miek
映射是:''tokenizer「:」standard「' – OussamaM