How to configure the data mapping that adds data to solr so that it is as data-privacy fitting as possible?

Question on behalf of @till-atomic-slope

How should I configure the data mapping that adds data to solr so that it is as data-privacy fitting as possible? What are the best practices? What are the arguments and the reasoning behind not having encrypted data in solr?

Answer on behalf of @tomas-thin-gale?

  • By default DS stores all content of the documents in the index. This behavior can be changed by setting NoValueValidation property on the document model field and indexing of this field will be skipped. Alternatively DS also publishes DocumentBeforeIndexEvent which can be used to remove all fields that are not meant for indexing from a document without persisting these changes.