Elastic App Search API Client
Project description
esclient
Elastic App Search API Client
Installation
pip install es-app-search
Usage
from es_app_search import ESClient
endpoint = 'app-search-api-endpoint'
key = 'private-key'
c = ESClient(endpoint, key)
Search
c.search('engine-name', 'sunny')
Create a synonym
c.create_synonym('engine-name', ['hi', 'hello', 'hiya'])
List all synonyms
c.get_synonyms('engine-name')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
es-app-search-1.0.1.tar.gz
(2.1 kB
view hashes)
Built Distribution
Close
Hashes for es_app_search-1.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50be5c6cb9339c1415d3e3b767a3c30b3c2b57fc3d78944229f643221886b11e |
|
MD5 | ae4f2c3e3b041a52e69520ca9f591312 |
|
BLAKE2b-256 | 114bd50da9b888ca7221f51fd01a12501525fcaa30f3065cec665f8f4a63e986 |