Elasticsearch全文检索对比:match、match_phrase、wildcard
生活随笔
收集整理的這篇文章主要介紹了
Elasticsearch全文检索对比:match、match_phrase、wildcard
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
文章目錄
- match
- match_phrase
- wildcard
match
根據定義的分詞器(默認standard)對搜索詞進行拆分,根據拆分結果逐個進行匹配。特點是可以查出大量可能相關聯的數據,但是準確率低。
PUT my_index/_doc/1?refresh {"message": "this is a test" } PUT my_index/_doc/2?refresh {"message": "this is a dog" }總結
以上是生活随笔為你收集整理的Elasticsearch全文检索对比:match、match_phrase、wildcard的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Nginx教程系列三:Nginx常用命令
- 下一篇: Nginx教程系列四:实现反向代理配置