How can I dynamic change a field's index type?

for a given field in mapping, I want alter the index type from "analyzed"
to "not_analyzed".

after search, I found the page,
"http://stackoverflow.com/questions/16290636/how-to-update-a-field-type-in-elasticsearch"

but it does not work.

so...

any help would be appreciated.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

You can not change a mapping for an existing field.
So you have to reindex.

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 3 août 2013 à 08:39, Raymond Wang rmn190@gmail.com a écrit :

for a given field in mapping, I want alter the index type from "analyzed" to "not_analyzed".

after search, I found the page, "http://stackoverflow.com/questions/16290636/how-to-update-a-field-type-in-elasticsearch"

but it does not work.

so...

any help would be appreciated.

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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

thanks a lot~

On Saturday, August 3, 2013, David Pilato david@pilato.fr wrote:

You can not change a mapping for an existing field.
So you have to reindex.

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 3 août 2013 à 08:39, Raymond Wang rmn190@gmail.com a écrit :

for a given field in mapping, I want alter the index type from
"analyzed" to "not_analyzed".

after search, I found the page, "
How to update a field type in elasticsearch - Stack Overflow
"
but it does not work.
so...

any help would be appreciated.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/CBeTBURLd5Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--

Best Regards
rmn190

--
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.
For more options, visit https://groups.google.com/groups/opt_out.