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. ES-LTR模块

    2024-03-29 10:22:05       53 阅读
  2. ES-LTR模块

    2024-03-29 10:22:05       44 阅读
  3. es索引

    2024-03-29 10:22:05       44 阅读
  4. ES6 模块

    2024-03-29 10:22:05       18 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-03-29 10:22:05       98 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-03-29 10:22:05       106 阅读
  3. 在Django里面运行非项目文件

    2024-03-29 10:22:05       87 阅读
  4. Python语言-面向对象

    2024-03-29 10:22:05       96 阅读

热门阅读

  1. Adipogen ZBP1单克隆抗体

    2024-03-29 10:22:05       38 阅读
  2. 有关在容器化的Jenkins中运行Docker服务记录

    2024-03-29 10:22:05       37 阅读
  3. 刚租用的服务器被恶意攻击怎么办?

    2024-03-29 10:22:05       41 阅读
  4. 学习笔记(17)递归

    2024-03-29 10:22:05       39 阅读
  5. C# 反射

    2024-03-29 10:22:05       37 阅读
  6. uniapp获取当前位置?

    2024-03-29 10:22:05       44 阅读
  7. 基于Mac M1[ARM64]环境下Docker部署大数据集群

    2024-03-29 10:22:05       38 阅读