ElasticSearch学习笔记-邻近匹配搜索记录
生活随笔
收集整理的這篇文章主要介紹了
ElasticSearch学习笔记-邻近匹配搜索记录
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
ElasticSearch版本:elasticsearch-7.3.0
環境準備:
curl -H "Content-Type: application/json" -XPUT 'http://192.168.0.1:9200/article/' -d ' {"settings": {"analysis": {"analyzer": {"shingle_analyzer": {"type": "custom","tokenizer": "ik_smart","filter": ["shingle_filter"]}},"filter": {"shingle_filter": {"type": "shingle","min_shingle_size": 2,"max_shingle_size": 4,"output_unigrams": false}}}},"mappings": {"dynamic": "strict","_source": {"excludes": ["id"]},"properties": {"id": {"type"總結
以上是生活随笔為你收集整理的ElasticSearch学习笔记-邻近匹配搜索记录的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 如何用 Python 让你的 PPT 数
- 下一篇: 【精华】PB函数大全