ES - settings/mappings - globally for an index - "index": "not_analyzed" and "analyzer":"whitespace" - new feature or not supported

Hello,
I want to globally set the following for all current string fields for an
Index and also for the future(new) string fields on that Index.

Can some some one send example or link that has example, I was researching
and could not find one.

Thanks. Karan

"index": "not_analyzed",
"analyzer":"whitespace"

--
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/f06c14c5-7993-4507-9b89-e393addf949d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

You cannot set it globally, you have to do it for each field.

On 6 March 2015 at 01:39, KaranM karan.muthu@gmail.com wrote:

Hello,
I want to globally set the following for all current string fields for an
Index and also for the future(new) string fields on that Index.

Can some some one send example or link that has example, I was researching
and could not find one.

Thanks. Karan

"index": "not_analyzed",
"analyzer":"whitespace"

--
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/f06c14c5-7993-4507-9b89-e393addf949d%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/f06c14c5-7993-4507-9b89-e393addf949d%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 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/CAEYi1X9B7QgTCFjbBba9wpuU0xaD7aKTXRRpz0_%2BVzPCmzj0fQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

On Thursday, March 05, 2015 at 22:56 CET,
Mark Walkom markwalkom@gmail.com wrote:

On 6 March 2015 at 01:39, KaranM <[1]karan.muthu@gmail.com> wrote:

I want to globally set the following for all current string fields
for an Index and also for the future(new) string fields on that
Index.

Can some some one send example or link that has example, I was
researching and could not find one.

"index": "not_analyzed",Â
"analyzer":"whitespace"

You cannot set it globally, you have to do it for each field.

Wait, isn't this what dynamic templates are for?

--
Magnus Bäck | Software Engineer, Development Tools
magnus.back@sonymobile.com | Sony Mobile Communications

--
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/20150309161404.GB18116%40seldlx20533.corpusers.net.
For more options, visit https://groups.google.com/d/optout.

True :slight_smile:

On 10 March 2015 at 03:14, Magnus Bäck magnus.back@sonymobile.com wrote:

On Thursday, March 05, 2015 at 22:56 CET,
Mark Walkom markwalkom@gmail.com wrote:

On 6 March 2015 at 01:39, KaranM <[1]karan.muthu@gmail.com> wrote:

I want to globally set the following for all current string fields
for an Index and also for the future(new) string fields on that
Index.

Can some some one send example or link that has example, I was
researching and could not find one.

"index": "not_analyzed",Â
"analyzer":"whitespace"

You cannot set it globally, you have to do it for each field.

Wait, isn't this what dynamic templates are for?

Elasticsearch Platform — Find real-time answers at scale | Elastic

--
Magnus Bäck | Software Engineer, Development Tools
magnus.back@sonymobile.com | Sony Mobile Communications

--
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/20150309161404.GB18116%40seldlx20533.corpusers.net
.
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/CAEYi1X-%3DLDPyZZhjGOx41Zb-7%2BkmA94UxJr_1znvEGEW0nyziA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.