ES-LTR粗排模块

ES-LTR粗排模块

官方资源:https://github.com/HeiBoWang/elasticsearch-learning-to-rank

Elasticsearch学习排名插件使用机器学习提高搜索相关性排名。它为维基媒体基金会和Snagajob等地方的搜索提供了动力!

这个插件有什么功能

此插件:

  • 允许您在Elasticsearch中存储特征(Elasticsearch查询模板)
  • 记录特征得分(相关性得分)以创建离线模型开发的训练集
  • 在使用您存储的功能的Elasticsearch中存储线性、xgboost或ranklib排名模型
  • 使用存储的模型对搜索结果进行排序

文档

详细的开发文档:Elasticsearch Learning to Rank: the documentation --- Elasticsearch Learning to Rank documentation

直接开始实战

demo: https://github.com/o19s/hello-ltr

jupyter环境: https://github.com/o19s/hello-ltr/blob/master/notebooks/elasticsearch/tmdb/hello-ltr%20(ES).ipynb

安装

在这里找到符合你ES版本的预编译的插件: https://github.com/o19s/elasticsearch-learning-to-rank/releases

本地编译和部署

./gradlew clean check

./bin/elasticsearch-plugin install file:///path/to/elasticsearch-learning-to-rank/build/distributions/ltr-<LTR-VER>-es<ES-VER>.zip

相关推荐
羑悻的小杀马特1 小时前
把随身WiFi改成网盘聚合器:中兴F50挂载本地存储+夸克网盘实战
运维·服务器·人工智能·网盘·openlist
Yana.nice9 小时前
Linux 只保留 30 天内日志(find命令删除日志文件)
linux·运维·chrome
2601_9605679611 小时前
电商套图自动化效率的工程量化分析——从逐张生成到批量套图的架构演进
运维·架构·自动化
泡沫冰@12 小时前
使用Jenkins时的常见问题以及Podman容器+Jenkins流水线落地方案
jenkins
吳所畏惧12 小时前
宝塔面板Redis密码修改指南:SSH命令修改 vs 面板UI界面修改,哪个更靠谱?
运维·服务器·数据库·redis·缓存·ssh
HiDev_13 小时前
【非标自动化】2、认识元器件(确定目标)
运维·自动化
Zhang~Ling14 小时前
从 fopen 到 struct file:从零开始拆解 Linux 文件 I/O
linux·运维·服务器
爱写代码的森14 小时前
蒙三方库 | harmony-utils之FileUtil文件重命名与属性查询详解
linux·运维·服务器·华为·harmonyos·鸿蒙·huawei
中微极客14 小时前
2026主流AI Agent框架技术选型与性能对比
运维·网络·人工智能
久曲健的测试窝14 小时前
智能座舱自动化测试落地方案:数字仿真搭配实车实测,解决用例运维与场景失真难题
运维