Use custom update settings request

XMLWordPrintable

    • Type: Task
    • Resolution: Fixed
    • Priority: L3 - Default
    • 2.4.0-alpha1, 2.4.0
    • Affects Version/s: None
    • Component/s: backend
    • None

      Context:
      When creating the schema we disable automatic index creation for Elasticsearch indices. However, the high level client we currently use, sends the following request:

      http://localhost:9200/_cluster/settings?master_timeout=30s&timeout=30s
      {
      	"persistent" : {
      		"action": {
      			"auto_create_index": false
      		}
      	}
      }
      

      Which is not supported by Amazon AWS. Instead use the low level client and perform the following request:

      http://localhost:9200/_cluster/settings?master_timeout=30s&timeout=30s
      {
      	"persistent" : {
      			"action.auto_create_index": false
      	}
      }
      

            Assignee:
            Unassigned
            Reporter:
            Johannes
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: