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
File details
Details for the file xiaoapi-elasticsearch-0.0.3.tar.gz
.
File metadata
- Download URL: xiaoapi-elasticsearch-0.0.3.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a41e8169f14fe9485b644e9aa64c4f5dfc01b9888d992b7aff943922c2fa9f0 |
|
MD5 | bba9f6055b188df94b93602d88b7a169 |
|
BLAKE2b-256 | d9257ce30ab423b4b5cf9af0ebee5054b9f77eea02e2aaf9f56a34418b612242 |
File details
Details for the file xiaoapi_elasticsearch-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: xiaoapi_elasticsearch-0.0.3-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46efee28a823474939a06ee9b50ad7a3de1f9d61737a64245e50bb4fe9abae60 |
|
MD5 | ae1b6a3b35ae3595ca94566cfa4f01e8 |
|
BLAKE2b-256 | 20e5bb80d7349cc54158260d0cce503dea86505c5b04b5e0b8c05d134ee8e03c |