Skip to main content

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.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for elasticsearch-ltr 1.0.1
File Size Uploaded
elasticsearch_ltr-1.0.1.tar.gz 3.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for elasticsearch-ltr 1.0.1
File Interpreter ABI Platform
elasticsearch_ltr-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 8.9 kB

Release files / elasticsearch_ltr-1.0.1.tar.gz

Download URL elasticsearch_ltr-1.0.1.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
cf727fc30bc6952c4366b5940507486c244afd5f39c9fe24657a40686d8bfab9
BLAKE2b-256 checksum
How to use checksums
a8f268387822349c1ea5ce0cd9ce874d1dad68ca96efb84191b99fd9c27328c7
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.1-py3-none-any.whl

Download URL elasticsearch_ltr-1.0.1-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
47feef6cd26aadab84b5468f3c61197b8ddeac65cc2d20bbdd2b487f7e2c0501
BLAKE2b-256 checksum
How to use checksums
e1d6a2e962f95313a66406bc26b6c707eccb0b9e992ad50b87d6373be7265740
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 history Release notifications | RSS feed

1.0.2

2 release files

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page