Search code examples
elasticsearchnest

Is it possible to disable Auto Index creation in NEST Elastiscsearch?


Is it possible to do the following setting in NEST instead of doing it in the yml file?

action.auto_create_index:false


Solution

  • action.auto_create_index:false can only be set in the elasticsearch.yml configuration file; it's not a property that can currently be updated through the REST API.