Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aparo/opensearch-learning-to-rank
Fork of https://github.com/o19s/elasticsearch-learning-to-rank to work with OpenSearch
https://github.com/aparo/opensearch-learning-to-rank
Last synced: 2 months ago
JSON representation
Fork of https://github.com/o19s/elasticsearch-learning-to-rank to work with OpenSearch
- Host: GitHub
- URL: https://github.com/aparo/opensearch-learning-to-rank
- Owner: aparo
- License: apache-2.0
- Created: 2021-08-24T17:50:15.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-03T07:00:54.000Z (over 1 year ago)
- Last Synced: 2024-01-26T19:38:34.510Z (5 months ago)
- Language: Java
- Size: 1.45 MB
- Stars: 15
- Watchers: 2
- Forks: 16
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
Lists
- awesome-opensearch - Learning to Rank Plugin - learning-to-rank to work with OpenSearch. It's a rewrite of some parts to be able to work with OpenSearch. (Plugins)
- awesome-opensearch - Learning to Rank Plugin - learning-to-rank to work with OpenSearch. It's a rewrite of some parts to be able to work with OpenSearch. (Plugins)
README
# Important Notice
This is a fork of https://github.com/o19s/elasticsearch-learning-to-rank to work with OpenSearch. It's a rewrite of some parts to be able to work with OpenSearch 1.x. Please refer to official documentation of [Elasticsearch Learning to Rank](http://elasticsearch-learning-to-rank.readthedocs.io) for usage.
The OpenSearch Learning to Rank plugin uses machine learning to improve search relevance ranking. The original Elasticsearch LTR plugin is powering search at places like Wikimedia Foundation and Snagajob!
# Installing
To install, you'd run a command like this but replacing with the appropriate prebuilt version zip:
| OS | Command |
| ------ | ------- |
| 1.0.0 | `bin/opensearch-plugin install https://github.com/aparo/opensearch-learning-to-rank/releases/download/1.0.0/ltr-1.5.4-os1.0.0.zip` |
| 1.1.0 | `bin/opensearch-plugin install https://github.com/aparo/opensearch-learning-to-rank/releases/download/1.1.0/ltr-1.5.4-os1.1.0.zip` |
| 1.2.0 | `bin/opensearch-plugin install https://github.com/aparo/opensearch-learning-to-rank/releases/download/1.2.0/ltr-1.5.4-os1.2.0.zip` |
| 1.2.2 | `bin/opensearch-plugin install https://github.com/aparo/opensearch-learning-to-rank/releases/download/1.2.2/ltr-1.5.4-os1.2.2.zip` |
| 1.2.3 | `bin/opensearch-plugin install https://github.com/aparo/opensearch-learning-to-rank/releases/download/1.2.3/ltr-1.5.4-os1.2.3.zip` |(It's expected you'll confirm some security exceptions, you can pass `-b` to `opensearch-plugin` to automatically install)
If you already are running OpenSearch, don't forget to restart!
## About alpha releases
These releases are alpha because some issues with the tests due to securemock that depends on ElasticSearch security stuff.
And there are 14 failing tests.```
Tests with failures:
- com.o19s.es.ltr.feature.store.StoredFeatureSetParserTests.testExpressionDoubleQueryParameter
- com.o19s.es.ltr.feature.store.StoredFeatureSetParserTests.testExpressionMissingQueryParameter
- com.o19s.es.ltr.feature.store.StoredFeatureSetParserTests.testExpressionIntegerQueryParameter
- com.o19s.es.ltr.feature.store.StoredFeatureSetParserTests.testExpressionShortQueryParameter
- com.o19s.es.ltr.feature.store.StoredFeatureSetParserTests.testExpressionInvalidQueryParameter
- com.o19s.es.termstat.TermStatQueryBuilderTests.testMustRewrite
- com.o19s.es.termstat.TermStatQueryBuilderTests.testToQuery
- com.o19s.es.termstat.TermStatQueryBuilderTests.testCacheability
- com.o19s.es.ltr.feature.store.StoredFeatureParserTests.testExpressionOptimization
- com.o19s.es.termstat.TermStatQueryTests.testEmptyTerms
- com.o19s.es.termstat.TermStatQueryTests.testUniqueCount
- com.o19s.es.termstat.TermStatQueryTests.testBasicFormula
- com.o19s.es.termstat.TermStatQueryTests.testQuery
- com.o19s.es.termstat.TermStatQueryTests.testMatchCount228 tests completed, 14 failed
```