Epinova / Epinova.Elasticsearch

A search-plugin for Episerver CMS and Commerce
MIT License
29 stars 20 forks source link

Remove attachment base64 data after indexing #77

Open viljasenville opened 5 years ago

viljasenville commented 5 years ago

Sometimes it's not necessary to store the original attachment data (as base64) into Elasticsearch index after the actual content is indexed. The original attachment is available as Episerver blob.

It should be possible to add the following processor to attachment pipeline definition: "remove": { "field": "_attachmentdata" }

It would be nice to have configuration value to choose whether the raw data is saved or not.