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/

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

elasticsearch_ltr-1.0.2.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

elasticsearch_ltr-1.0.2-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file elasticsearch_ltr-1.0.2.tar.gz.

File metadata

  • Download URL: elasticsearch_ltr-1.0.2.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for elasticsearch_ltr-1.0.2.tar.gz
Algorithm Hash digest
SHA256 bf6044d6f1bf073be6fd0809f443574197719e02403bf00ffb3433788997a9d9
MD5 f510e8eaf8b642010b5650306c911e09
BLAKE2b-256 41ef5dcfddbb52e737b48e2668ba9b06f9c6de24ada1e9d3fbe176eb44db1f63

See more details on using hashes here.

File details

Details for the file elasticsearch_ltr-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: elasticsearch_ltr-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for elasticsearch_ltr-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dc1e308c207e5f31287f0a488f5af53dc765e23b7eb52822eb46f19dd33b98b1
MD5 3c92b0fc1e4f0e480d2d2d6d3bd9724e
BLAKE2b-256 869c1733ff83df010207aa1658a612dca8766db1e9263d6296cf9dc500972313

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 files

1.0.1

2 files

1.0.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page