Gravatar for

Question by jtresidder, May 31, 2018 9:37 PM

Source controlling on-premises field information

Is there a way to source control updates to the coveo index? Specifically, I have marked a field as a facet (similar to this article: ), and I need to find a way to get this source controlled, as well as find a way to deploy it out to our higher environments. Can this setting to mark a field as a facet be controlled by an xml / config file? Is there another way to accomplish what I'm looking for? I'd really like us to be able to push out updates to the index using our standard release management process, but I'm not sure if that's going to be possible or not.

1 Reply
Gravatar for

Answer by Aljosa Asanovic, May 31, 2018 10:00 PM

Hey @jtresidder,

I see that you've tagged your post with Coveo for Sitecore 4. If that's indeed what you're using, the article which you linked is not what you want.

In Coveo for Sitecore, fields are defined in the configuration files located within App_Config/Include/Coveo folder of the Sitecore instance. In this case the file you'll want to modify specifically is called Coveo.SearchProvider.Custom.config.

The reason to avoid making the change in CES 7 is that Coveo for Sitecore will push its configuration to CES and overwrite the settings which were changed manually if there is a conflict.

The good news is that since your Sitecore instance and its configuration files are most likely already using source control, you're already covered and can use your standard release management process.

You can use the following documentation to see how to make fields facettable in the correct way. Almost everything can be done on the (Coveo for) Sitecore side.

Ask a question