Coveo error on CD server with no master db
I am configuring coveo on a CD server with no master database. The queue and search api service are located on another server, and are accessible from the CD server. I am getting the following error when browsing to the search page:
Could not find add method: AddIndex (type: Coveo.SearchProvider.Configuration.CoveoSearchConfiguration) Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: Sitecore.Exceptions.RequiredObjectIsNullException: Could not find add method: AddIndex (type: Coveo.SearchProvider.Configuration.CoveoSearchConfiguration)
I have been through the tutorials on setting up Coveo across multiple servers and scaling Coveo, and Have made the configuration changes suggested in those.
Any help would be appreciated.
AddIndex is a method on the type
Coveo.SearchProvider.Configuration.CoveoSearchConfiguration defined in the
<configuration> node of the
Coveo.SearchProvider.config file. This method takes one argument as an instance of the
ISearchIndex interface. The way to define the parameter value is with the
type attribute of
<index> elements in the
I am able to reproduce your error by removing the
type attribute and value from the
<index> node in my
Coveo.SearchProvider.config file. Can you verify you have this
type attribute please?
<index id="..." type="Coveo.SearchProvider.ProviderIndex, Coveo.SearchProvider">...</index>
I just read your question again and noticed your setup is a CD without a "master" DB. You could just remove the "Coveomasterindex" index node from your configuration. Did you try that?