How to disable automatic index creation

I tried to find it in the guide but failed: Is there a way to configure ES *
not* to automatically create indexes (e.g. when indexing content of a non
existing index). I need to control index creation and would like to reject
indexing requests that refer to non existing indexes.

On Fri, 2011-11-04 at 05:01 -0700, Jan Fiedler wrote:

I tried to find it in the guide but failed: Is there a way to
configure ES not to automatically create indexes (e.g. when indexing
content of a non existing index). I need to control index creation and
would like to reject indexing requests that refer to non existing
indexes.

Add this to config/elasticsearch.yml:

action.auto_create_index: 0

clint

Awesome! Works like a charm. Is there any place (beside source code) where
I could have found this property?

I am not sure it is documented..., it should be documented in the index API
at the very least. Can you open an issue?

On Fri, Nov 4, 2011 at 2:45 PM, Jan Fiedler fiedler.jan@gmail.com wrote:

Awesome! Works like a charm. Is there any place (beside source code) where
I could have found this property?

Created: Provide documentation on index action settings · Issue #1445 · elastic/elasticsearch · GitHub

On Tue, Nov 8, 2011 at 4:09 AM, Shay Banon kimchy@gmail.com wrote:

I am not sure it is documented..., it should be documented in the index
API at the very least. Can you open an issue?

On Fri, Nov 4, 2011 at 2:45 PM, Jan Fiedler fiedler.jan@gmail.com wrote:

Awesome! Works like a charm. Is there any place (beside source code)
where I could have found this property?