摘要: 一,ik_smart 和 ik_max_word 两种分词器 ik分词插件支持 ik_smart 和 ik_max_word 两种分词器 ik_smart - 粗粒度的分词ik_max_word - 会尽可能的枚举可能的关键词,就是分词比较细致一些,会分解出更多的关键词 二,实际比较的例子: ik_ 阅读全文
posted @ 2025-12-17 22:17 刘宏缔的架构森林 阅读(6) 评论(0) 推荐(0)
摘要: 一,查看已安装的plugin $ /opt/soft/elasticsearch-9.2.2/bin/elasticsearch-plugin list $ ls /opt/soft/elasticsearch-9.2.2/plugins/ $ 二,安装: 从这个页面手动下载: https://re 阅读全文
posted @ 2025-12-17 22:09 刘宏缔的架构森林 阅读(10) 评论(0) 推荐(0)
摘要: 一,代码: from elasticsearch import Elasticsearch # 连接到 Elasticsearch,替换为实际的 IP 地址和密码 # , basic_auth=('elastic', 'Elastic_j625sz') es = Elasticsearch('htt 阅读全文
posted @ 2025-12-17 20:43 刘宏缔的架构森林 阅读(5) 评论(0) 推荐(0)
摘要: 一,代码: from elasticsearch import Elasticsearch # 连接到 Elasticsearch,替换为实际的 IP 地址和密码 # , basic_auth=('elastic', 'Elastic_j625sz') es = Elasticsearch('htt 阅读全文
posted @ 2025-12-17 19:20 刘宏缔的架构森林 阅读(3) 评论(0) 推荐(0)