Gravatar for shirazi@rdacorp.com

Question by aga, Dec 1, 2015 1:13 PM

Automate DB Source Field Sets

Hi

We're using Coveo to index an Oracle DB and Sitecore. When a new field is added to Oracle table/query then we need to manually update the FieldSets in the admin tool. Is there anyway we could automate this i.e. add new fields to the fieldSet as Coveo begins to index the db? Something like the way it behaves with Sitecore i.e. when a field is added to a template, the fieldset is updated as well.

Thanks

1 Reply
Gravatar for jflheureux@coveo.com

Answer by Jean-François L'Heureux, Dec 1, 2015 5:11 PM

Hi Aga,

I don't think this is possible with Coveo Enterprise Search.

It is possible with Coveo for Sitecore because Coveo for Sitecore is installed directly in Sitecore and is using the Sitecore APIs to read the fields and synchronize them with CES through the Coveo Admin Service.

I don't think you can integrate a module in an Oracle database to do a similar thing. If you can, you would need to do it by yourself using the Coveo Admin Service to manage your CES field set.

Gravatar for shirazi@rdacorp.com

Comment by aga, Dec 1, 2015 5:38 PM

Thanks Jeff, can you point me to any documentation that allows me to use the admin service to manage the fieldSets?

Gravatar for jflheureux@coveo.com

Comment by Jean-François L'Heureux, Dec 1, 2015 5:55 PM

There's no documentation on the automation of the CES index configuration because this is something mostly private to Coveo's products. The Coveo Admin Service is not a public API and is subject to change without keeping backward compatibility in the future.

You can decompile the Coveo for Sitecore assemblies to understand how it is done. The Coveo Admin Service is a WCF webservice. You can connect to it in a .Net project.

Ask a question