Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Solr - Add extra fields to the Sitecore_analytics_index to store custom xdb data
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
<sitecore>
<contentSearch>
<configuration>
<indexes>
<index id="sitecore_analytics_index">
<configuration>
<fieldMap>
<fieldNames>
<field fieldName="contact.SampleOrder.Skus" returnType="stringCollection" />
<field fieldName="contact.SampleOrder.FavouriteType" returnType="string" />
</fieldNames>
</fieldMap>
</configuration>
</index>
</indexes>
</configuration>
</contentSearch>
</sitecore>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.