用于Redis的ElasticSearch加载程序插件
esl-redis的Python项目详细描述
从redis列表中连续读取并索引到elasticsearch
安装
pip install esl-redis
用法
$ elasticsearch_loader --index lol --type cake redis --help Usage: elasticsearch_loader redis [OPTIONS] LIST_NAMES... Options: --host TEXT Redis host --port INTEGER Redis port --db INTEGER Redis db --list-read-timeout INTEGER block for X seconds, or until a value gets pushed on to one of the lists. If timeout is 0, then block indefinitely. -h, --help Show this message and exit.
示例
elasticsearch_loader --index index --type type redis my_list_name