{"id":13766296,"url":"https://github.com/aparo/opensearch-learning-to-rank","last_synced_at":"2025-07-01T09:04:52.541Z","repository":{"id":43232961,"uuid":"399556775","full_name":"aparo/opensearch-learning-to-rank","owner":"aparo","description":"Fork of https://github.com/o19s/elasticsearch-learning-to-rank to work with OpenSearch","archived":false,"fork":false,"pushed_at":"2022-10-03T07:00:54.000Z","size":1524,"stargazers_count":16,"open_issues_count":3,"forks_count":23,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-05T14:11:49.417Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aparo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-24T17:50:15.000Z","updated_at":"2024-04-25T05:35:57.000Z","dependencies_parsed_at":"2023-01-19T02:31:03.963Z","dependency_job_id":null,"html_url":"https://github.com/aparo/opensearch-learning-to-rank","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aparo%2Fopensearch-learning-to-rank","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aparo%2Fopensearch-learning-to-rank/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aparo%2Fopensearch-learning-to-rank/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aparo%2Fopensearch-learning-to-rank/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aparo","download_url":"https://codeload.github.com/aparo/opensearch-learning-to-rank/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240045015,"owners_count":19739185,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T16:00:53.562Z","updated_at":"2025-02-23T01:31:11.598Z","avatar_url":"https://github.com/aparo.png","language":"Java","funding_links":[],"categories":["Plugins"],"sub_categories":[],"readme":"# Important Notice\n\nThis 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.\n\nThe 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!\n\n\n# Installing\n\nTo install, you'd run a command like this but replacing with the appropriate prebuilt version zip:\n\n| OS     | Command |\n| ------ | ------- |\n| 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` |\n| 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` |\n| 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` |\n| 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` |\n| 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` |\n\n\n(It's expected you'll confirm some security exceptions, you can pass `-b` to `opensearch-plugin` to automatically install)\n\nIf you already are running OpenSearch, don't forget to restart!\n\n\n## About alpha releases\n\nThese releases are alpha because some issues with the tests due to securemock that depends on ElasticSearch security stuff.\nAnd there are 14 failing tests.\n\n```\nTests with failures:\n- com.o19s.es.ltr.feature.store.StoredFeatureSetParserTests.testExpressionDoubleQueryParameter\n- com.o19s.es.ltr.feature.store.StoredFeatureSetParserTests.testExpressionMissingQueryParameter\n- com.o19s.es.ltr.feature.store.StoredFeatureSetParserTests.testExpressionIntegerQueryParameter\n- com.o19s.es.ltr.feature.store.StoredFeatureSetParserTests.testExpressionShortQueryParameter\n- com.o19s.es.ltr.feature.store.StoredFeatureSetParserTests.testExpressionInvalidQueryParameter\n- com.o19s.es.termstat.TermStatQueryBuilderTests.testMustRewrite\n- com.o19s.es.termstat.TermStatQueryBuilderTests.testToQuery\n- com.o19s.es.termstat.TermStatQueryBuilderTests.testCacheability\n- com.o19s.es.ltr.feature.store.StoredFeatureParserTests.testExpressionOptimization\n- com.o19s.es.termstat.TermStatQueryTests.testEmptyTerms\n- com.o19s.es.termstat.TermStatQueryTests.testUniqueCount\n- com.o19s.es.termstat.TermStatQueryTests.testBasicFormula\n- com.o19s.es.termstat.TermStatQueryTests.testQuery\n- com.o19s.es.termstat.TermStatQueryTests.testMatchCount\n\n228 tests completed, 14 failed\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faparo%2Fopensearch-learning-to-rank","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faparo%2Fopensearch-learning-to-rank","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faparo%2Fopensearch-learning-to-rank/lists"}