Skip to content
Snippets Groups Projects
Commit a4b2f8d4 authored by Damien DESPRES's avatar Damien DESPRES
Browse files

migration es7

parent 65495abe
Branches
Tags
1 merge request!10dev into master
Pipeline #18672 passed
...@@ -34,7 +34,7 @@ def index_docs( cfg, content_type, docs ): ...@@ -34,7 +34,7 @@ def index_docs( cfg, content_type, docs ):
"refresh_interval": "30s" "refresh_interval": "30s"
}, },
"mappings": { "mappings": {
"_doc": { # "_doc": {
"dynamic_templates": [ # priority is given by order! "dynamic_templates": [ # priority is given by order!
{ {
"uuid" : { "uuid" : {
...@@ -64,7 +64,7 @@ def index_docs( cfg, content_type, docs ): ...@@ -64,7 +64,7 @@ def index_docs( cfg, content_type, docs ):
} }
} }
] ]
} # }
} }
} }
...@@ -187,4 +187,4 @@ def pushToMinio( client,bucket_name,image ): ...@@ -187,4 +187,4 @@ def pushToMinio( client,bucket_name,image ):
bucket_name, file_path, data, length=-1, part_size=10*1024*1024) bucket_name, file_path, data, length=-1, part_size=10*1024*1024)
except Exception : except Exception :
logger.warning("erreur avec l'image "+image) logger.warning("erreur avec l'image "+image)
return True return True
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment