Gravatar for mark.angus@nymity.com

Question by mark, Mar 2, 2016 8:57 AM

How to programmatically rebuild source and changes source parameters?

Hi, I would like to know how to programmatically rebuild index source as well as changed source parameters?

Any help would be appreciated.

Thanks.

1 Reply
Gravatar for jflheureux@coveo.com

Answer by Jean-François L'Heureux, Mar 2, 2016 10:59 AM

Hi Mark,

Coveo Enterprise Search actions like configuring and rebuilding sources can be done programmatically with the Coveo Admin Service. This is an undocumented SOAP Web Service used internally by Coveo products like Coveo for Sitecore. When installing "Coveo Enterprise Search for Sitecore", it is automatically installed. When installing "Coveo Enterprise Search" it is an option to check in the advanced setup. In all the cases, it can be unsecured or secured by a SSL certificate.

You can access its definition at http://localhost/AdminService?wsdl

With this, you can reference the service in your project and call its methods to automate your jobs.

Can I ask you what you are trying to automate before going further? Maybe there's an existing solution to your problem than writing code against the Coveo Admin Service.

I hope this helps,

Jeff

Ask a question