First you should not use _all but prefer copy_to feature which gives more 
flexibility. See: 
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-core-types.html#copy-to

That said, changing an analyzer one by another requires to reindex your 
documents.
So create a new index (or drop the old one and create it again) with new 
settings/mappings.
Reindex.

HTH

-- 
David Pilato | Technical Advocate | elasticsearch.com
[email protected]
@dadoonet | @elasticsearchfr | @scrutmydocs



Le 9 octobre 2014 à 09:46:23, Lasse Schou ([email protected]) a écrit:

Hi,

I have a lot of data in my ES cluster. I'm using the _all field for general 
search in my documents, but I recently found out that the standard analyzer 
doesn't tokenize words with dots inside (ex: www.google.com - not found when 
searching for "google").

So I want to replace the standard analyzer with the simple analyzer for the 
_all field.

How do I do that? Please let me know all the steps - replacing, re-indexing, 
etc.

Thanks,
Lasse
--
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/CADERWXrJFxvv3wRC_COVmEjkKnOJ4zc7F0bveSs0AK_jMRoMrg%40mail.gmail.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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/etPan.543656d3.5577f8e1.bc27%40MacBook-Air-de-David.local.
For more options, visit https://groups.google.com/d/optout.

Reply via email to