Last time I wrote about our changes to the DAM connector to store extra fields in the XML raw value of the image fields in Sitecore. But what happens if these values are changed in Content Hub? We implemented storing the value in the moment we choose the asset from Content Hub. So we would have to choose again the asset which we changed in Content Hub? No way! Following I will show you our implementation of notifying Sitecore that something has changed and update the image fields in Sitecore.
Category ContentSearch
Searching in a dynamic field – sometimes suffix is not added in solr-query
We came up with following: We had to find out the Rendering Item for a given Datasource Item. We thought it is a good idea to use ContentSearch for this: searching for the items with template “Controller Rendering” with the Datasource template which is equal to the fullpath of the template of our datasource item.
Continue reading “Searching in a dynamic field – sometimes suffix is not added in solr-query”
LinqToSolr: Using MatchWildcard instead of Contains
When implementing the content search for one of our projects we ran into the problem, that if we use the wildcard search in a specific field and only search for a phrase of the value no result was returned. We tried to find out what happened.
Continue reading “LinqToSolr: Using MatchWildcard instead of Contains”
Sitecore ContentSearch with language based synonyms
When populating the solr schema in Sitecore, the managed schema for solr is built. In it you can find a reference to the synomyms.txt file. But it’s just that one file which is located in the conf-folder in the core, but not in conf/lang – so it is not language based.
Continue reading “Sitecore ContentSearch with language based synonyms”