Python Elasticsearch Learning to Rank client
This is an add-on to official Python Elasticsearch client adding support for Elasticsearch Learning to Rank plugin API.
Installation
python -m pip install elasticsearch_ltr
Usage
from elasticsearch import Elasticsearch
from elasticsearch_ltr import LTRClient
client = Elasticsearch()
LTRClient.infect_client(client)
client.ltr.create_feature_store()
...
For more code you may check out tests/ folder.
Running tests
You'll have to run Elasticsearch on localhost:9200 with LTR plugin installed. Then just do
python -m pytest tests/
Metadata
Release files for elasticsearch-ltr 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| elasticsearch_ltr-1.0.2.tar.gz | 3.5 kB | Without provenance | Details for elasticsearch_ltr-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| elasticsearch_ltr-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for elasticsearch_ltr-1.0.2-py3-none-any.whl |
Total release size: 9.0 kB
Release files / elasticsearch_ltr-1.0.2.tar.gz
| Download URL | elasticsearch_ltr-1.0.2.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bf6044d6f1bf073be6fd0809f443574197719e02403bf00ffb3433788997a9d9
|
|
BLAKE2b-256 checksum How to use checksums |
41ef5dcfddbb52e737b48e2668ba9b06f9c6de24ada1e9d3fbe176eb44db1f63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6
|
Release files / elasticsearch_ltr-1.0.2-py3-none-any.whl
| Download URL | elasticsearch_ltr-1.0.2-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dc1e308c207e5f31287f0a488f5af53dc765e23b7eb52822eb46f19dd33b98b1
|
|
BLAKE2b-256 checksum How to use checksums |
869c1733ff83df010207aa1658a612dca8766db1e9263d6296cf9dc500972313
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6
|
Security for elasticsearch-ltr 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.