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

On 6 March 2015 at 01:39, KaranM <[email protected]> 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 [email protected].
> 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 [email protected].
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.

Reply via email to