docs/mappings/attachment-pipeline.json
changeset 14 b20c1022db17
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/mappings/attachment-pipeline.json	Wed Jul 12 12:01:24 2017 +0200
@@ -0,0 +1,17 @@
+{
+	"description": "Extract attachments informations",
+	"processors": [
+		{
+			"foreach": {
+				"field": "attachments",
+				"processor": {
+					"attachment": {
+						"field": "_ingest._value.content",
+						"target_field": "_ingest._value.attachment",
+						"ignore_missing": true
+					}
+				}
+			}
+		}
+	]
+}