Salut Patrick! :-)

You can not update an existing field with new specification for this field.
You need to either add a new field, create a new type (with the new mapping) or 
create a new index.

In addition to this, if you have existing documents, you'll probably need to 
reindex them.

Note: that although mapper attachment is cool to start with elasticsearch, I'd 
prefer to do text extraction in another process than at index time.

-- 
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr


Le 21 février 2014 à 16:09:00, Patrick Aljord ([email protected]) a écrit:

Hey all,

I'm trying to map a field to have type attachment, this works on new indices 
but not on existing ones. 
Is there a way to do this on existing indices? Here is the gist of it:

https://gist.github.com/patcito/281143ee4f440171c875

Thanks in advance,

Pat
--
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/52be5155-1d34-47e4-9484-284c976c49c2%40googlegroups.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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/etPan.53076cc9.2ae8944a.5655%40MacBook-Air-de-David.local.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to