elastic 学习
1 安装 search
https://www.elastic.co/downloads/elasticsearch
下载
Run bin/elasticsearch (or bin\elasticsearch.bat on Windows)
http://localhost:9200/
2 CURL
3 安装 sense
https://www.elastic.co/downloads/kibana
Run bin/kibana (or bin\kibana.bat on Windows)
http://localhost:5601
./bin/kibana plugin --install elastic/sense
bin\kibana.bat plugin --install elastic/sense
bin\kibana-plugin install elastic/sense
http://localhost:5601/app/sense
4 获得查询的全部结果
scanResp = helpers.scan(es, _body, scroll= "10m", index= _index, doc_type= _doc_type, timeout="10m")
for resp in scanResp:
print resp
5 python elastic的文档
http://elasticsearch-dsl.readthedocs.io/en/latest/index.html
人若有恒 无所不成

浙公网安备 33010602011771号