Commit e1fd8b17 authored by litaolemo's avatar litaolemo

update

parent d27df139
......@@ -17,16 +17,16 @@ import json
hosts = '172.16.52.49'
port = 9200
es2 = e7.Elasticsearch(hosts=hosts, port=port)
es2 = elasticsearch.Elasticsearch(hosts=hosts, port=port)
es7 = e7.Elasticsearch(hosts="172.16.52.33", port=9200,http_auth=("elastic","gengmei!@#"))
# es7 = e7.Elasticsearch(hosts="172.16.31.17", port=9000)
target_index = 'gm-dbmw-city_suggest'
target_type = '_doc'
target_index = 'gm-dbmw-qa_top-read'
target_type = 'qa_top'
from_index = 'gm-dbmw-city_suggest'
from_index = 'gm-dbmw-qa_top-read'
from_type = '_doc'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment