Commit 788ff0fb authored by Damien DESPRES's avatar Damien DESPRES
Browse files

Merge branch 'redmine-issue/13316' into 'development'

REDMINE 13316 : crée les index avec 1 replica

See merge request !9
parents 55726acf 06fb9c8b
Pipeline #22246 passed with stages
in 1 minute and 37 seconds
......@@ -7,7 +7,7 @@ template = {
"index.mapping.total_fields.limit": 10000,
#"index.mapping.ignore_malformed": True,
"number_of_shards" : 1,
"number_of_replicas" : 0,
"number_of_replicas" : 1,
"max_ngram_diff": 100,
"analysis": {
"filter": {
......
......@@ -7,7 +7,7 @@ template = {
"index.mapping.total_fields.limit": 10000,
#"index.mapping.ignore_malformed": True,
"number_of_shards" : 1,
"number_of_replicas" : 0,
"number_of_replicas" : 1,
"max_ngram_diff": 100,
"analysis": {
"filter": {
......
......@@ -29,7 +29,7 @@ def index_docs( cfg, content_type, docs ):
es_body = {
"settings" : {
"number_of_shards" : 1,
"number_of_replicas" : 0,
"number_of_replicas" : 1,
"index.mapping.total_fields.limit": 10000,
"refresh_interval": "30s"
},
......
Supports Markdown
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