xiaoapi elasticsearch
Project description
xiaoapi-elasticsearch
xiaoapi的elasticsearch扩展包
安装
pip install xiaoapi-elasticsearch
配置
需要在 application/settings 中 添加以下配置:
# Elasticsearch 配置
ELASTICSEARCH_ENABLE = False
ELASTICSEARCH_USER = "elastic"
ELASTICSEARCH_PASSWORD = "gv3Z0Nnti2gdApgzLmUN"
ELASTICSEARCH_URL = "http://127.0.0.1:9200"
然后在 application/settings 中的 EVENTS 里引入 xiaoapi_elasticsearch
EVENTS = [
"xiaoapi_elasticsearch.connect_elasticsearch",
]
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
Built Distribution
Close
Hashes for xiaoapi-elasticsearch-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3c10baccb4c3c2640acd996463c6ae75283cefeaf3c779928b46d9111d5ec28 |
|
MD5 | 8f3d5ef13ed2feeeac86755c959f4811 |
|
BLAKE2b-256 | 4dede548d16af5659bdb8670bacc3976dcb5124538c5603bc4dfbc9936a89637 |
Close
Hashes for xiaoapi_elasticsearch-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d471b827880f0f8c250e522df8862a7cb473227ee486d5b242586a0023b227a0 |
|
MD5 | 4465a71f9f7b2b130465eecffbdf7d81 |
|
BLAKE2b-256 | b6124e35b950af48a497f567a478d6692e42fd6c4457d907d49e4a10a5d44345 |