Will this be helpful?

http://stackoverflow.com/questions/23366602/default-index-analyzer-in-elasticsearch


On Mon, Mar 23, 2015 at 9:16 AM, Shai Amar <[email protected]> wrote:

> I want to store data in an ElasticSearch index as not_analyzed.
>
> Meaning, that I do not need any analyzer to analyze the data.
>
> e.g. {name:JHON-ANDERSON} will be stored as {name:JOHN-ANDERSON}
>
> I want to create a template that creates not_analyzed indices.
>
> I know that if I want to do it this way, I need to specify it specifically
> in the mapping.
>
> Since the JSon data I add to the index is quite large, the mapping is
> quite complicated.
>
> So, is there any way to do it by default? Meaning, to map all the string
> values in a template as not analyzed?
>
>  --
> 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/89144755-2ea8-483f-841d-6715650705c7%40googlegroups.com
> <https://groups.google.com/d/msgid/elasticsearch/89144755-2ea8-483f-841d-6715650705c7%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 



This message contains confidential information and is intended only for the 
individual named. If you are not the named addressee, any delivery, 
disclosure, dissemination or distribution of this e-mail is unlawful and 
strictly prohibited.   Please notify the sender immediately by e-mail if 
you have received this e-mail by mistake and delete this e-mail from your 
system. E-mail transmissions cannot be guaranteed to be secure or without 
error, as information could be intercepted, corrupted, lost, destroyed, 
arrive late, be incomplete, or contain viruses. The sender therefore does 
not accept liability for any errors or omissions in the contents of this 
message, which errors or omissions arise as a result of e-mail 
transmission. If verification is required, please request a hard-copy 
version. (Res.Sys-dct1)

-- 
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/CAAKpE%2BVwLaVdY6jhk6DrQH%3DCKngvA-ZoB6gsJV2kGwo%2B1DeF%3DA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to