Hi,

The copy_to feature looks nice, but for now I'm happy using the _all 
feature.

However I don't think my question was fully answered. When creating the new 
index, how do I change the _all analyzer? Are you saying that I need to 
change the analyzer on each of the fields I've enabled _all on?

Thanks again,
Lasse

On Thursday, October 9, 2014 11:35:30 AM UTC+2, David Pilato wrote:
>
> 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
>
>
> <http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-core-types.html#copy-to>
> T 
> <http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-core-types.html#copy-to>hat
>  
> 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 
> <http://elasticsearch.com>*
> [email protected] <javascript:>
> @dadoonet <https://twitter.com/dadoonet> | @elasticsearchfr 
> <https://twitter.com/elasticsearchfr> | @scrutmydocs 
> <http://twitter.com/scrutmydocs>
> <https://twitter.com/scrutmydocs>
>
>
>
> Le 9 octobre 2014 à 09:46:23, Lasse Schou ([email protected] 
> <javascript:>) 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] <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/elasticsearch/CADERWXrJFxvv3wRC_COVmEjkKnOJ4zc7F0bveSs0AK_jMRoMrg%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/elasticsearch/CADERWXrJFxvv3wRC_COVmEjkKnOJ4zc7F0bveSs0AK_jMRoMrg%40mail.gmail.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/468c37f1-456e-4c7a-88e1-f387734f26fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to