Update _source excludes in place in documents

Hello,

After about a weeks running of indexing attachments into Elasticsearch, we
sadly discovered that we forgot to add a _source.excludes on the base64
encoded file content of all the attachments.

We would love to somehow do the following:

  1. Change the mapping to add the excludes to the source - I tried doing
    this using the regular PUT mapping API as described in the docs. However,
    it seems that when there is already a mapping in place, the source
    attribute is ignored? The same curl call I use works fine if I delete the
    type altogether first.
  2. Use the update API on the actual documents to exclude that one field for
    all the documents that are already indexed. Reading the docs I can't seem
    to locate any information on how to try to achieve this.

Any help on this would be greatly appreciated! :slight_smile:

And lastly: Thanks for an awesome product, it truly rocks! :slight_smile:

--
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.