Disabling automatic index creation

Hi guys,

There is default behavior in ES to automatically create index if it doesn't
exists yet.
I'd like this to be an explicit operation.

How can I disable this so ES rather throws an error when trying to add smth
to non-existent index?

Thanks,
Y

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/9890f3fb-1057-4ecb-8006-7ee780231913%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

I think you are looking for this: http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-index_.html#index-creation

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr

Le 8 septembre 2014 à 17:01:57, Yevhen Bobrov (yevhen.bobrov@gmail.com) a écrit:

Hi guys,

There is default behavior in ES to automatically create index if it doesn't exists yet.
I'd like this to be an explicit operation.

How can I disable this so ES rather throws an error when trying to add smth to non-existent index?

Thanks,
Y

You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/9890f3fb-1057-4ecb-8006-7ee780231913%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/etPan.540dc54d.19495cff.14616%40MacBook-Air-de-David.local.
For more options, visit https://groups.google.com/d/optout.

Ye, this is it.

Thanx!

On 9/8/2014 6:03 PM, David Pilato wrote:

I think you are looking for this:
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-index_.html#index-creation

--
David Pilato | /Technical Advocate/ | Elasticsearch.com
@dadoonet https://twitter.com/dadoonet | @elasticsearchfr
https://twitter.com/elasticsearchfr

Le 8 septembre 2014 à 17:01:57, Yevhen Bobrov (yevhen.bobrov@gmail.com
mailto:yevhen.bobrov@gmail.com) a écrit:

Hi guys,

There is default behavior in ES to automatically create index if it
doesn't exists yet.
I'd like this to be an explicit operation.

How can I disable this so ES rather throws an error when trying to
add smth to non-existent index?

Thanks,
Y

You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to elasticsearch+unsubscribe@googlegroups.com
mailto:elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/9890f3fb-1057-4ecb-8006-7ee780231913%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/9890f3fb-1057-4ecb-8006-7ee780231913%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/PqMESEq-SCk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com
mailto:elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/etPan.540dc54d.19495cff.14616%40MacBook-Air-de-David.local
https://groups.google.com/d/msgid/elasticsearch/etPan.540dc54d.19495cff.14616%40MacBook-Air-de-David.local?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/540EAAA5.2040609%40gmail.com.
For more options, visit https://groups.google.com/d/optout.