Commit cb935ec3 authored by 李小芳's avatar 李小芳

修改mapping

parent 6ce2259a
......@@ -76,7 +76,7 @@ def load_mapping(doc_type):
def put_mapping(es, index_prefix, doc_type, mapping, delete=False):
doc_type = "_doc"
cl = es.indices
print(es.doc_type)
print(cl)
index = es_index_adapt(
index_prefix=index_prefix,
doc_type=doc_type,
......
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