Cannot find ProviderIndex constructor
I've got a sitecore website, where I have setup Coveo Enterprise Search 7 + Coveo for Sitecore, whenever I try to launch the site, I get the following error:
When accessing http://localhost:8080/rest/search everything works as intended. I can likewise make a query there, by inputting ?q=querytexthere after the previous URI. That leads me to believe that Coveo is configured correctly.
Below is the Rest.Config file:
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> <sitecore> <pipelines> <!-- Pipeline used to customize the JSON response of the search REST endpoint. --> <coveoProcessRestJsonResponse> <processor type="Coveo.SearchProvider.Rest.Processors.CoveoProcessRestJsonResponse.ParseJsonRestSearchResponseProcessor, Coveo.SearchProvider.Rest" /> </coveoProcessRestJsonResponse> <!-- Pipeline used to customize the information returned by the REST endpoint. --> <coveoProcessParsedRestResponse> </coveoProcessParsedRestResponse> <httpRequestBegin> <!-- This processor is required to ensure that requests targeting the REST endpoint are not handled by Sitecore. --> <processor patch:before="processor[@type = 'Sitecore.Pipelines.HttpRequest.ItemResolver, Sitecore.Kernel']" type="Coveo.SearchProvider.Rest.Processors.HttpRequestBegin.TransferCoveoRestSearchRequest, Coveo.SearchProvider.Rest" /> </httpRequestBegin> </pipelines> <contentSearch> <configuration> <!-- Coveo Rest endpoint search settings --> <restEndpointConfiguration type="Coveo.Framework.Configuration.RestEndpointConfiguration, Coveo.Framework"> <!-- The secret key must be configured in the search api service as well. This way, the search api service can trust the application. --> <ApplicationSecret>My_Application_Secret</ApplicationSecret> <!-- The timeout period for requests going through the search api proxy.--> <RequestTimeout>00:00:30</RequestTimeout> <!-- Defines the location of the REST endpoint in the website. --> <RestEndpointPath>/coveo/rest</RestEndpointPath> <!-- The period while the search token is valid. --> <SearchTokenExpiration>01:00:00</SearchTokenExpiration> <!-- The URI to connect to the search api service. --> <SearchApiUri>http://localhost:8080/</SearchApiUri> </restEndpointConfiguration> </configuration> </contentSearch> </sitecore> </configuration>
Does anyone have a clue as to what might be the reason for this very problem? If you need anymore, let me know and I'll put it up ASAP.
Best regards, Nicolai
Strange, is it possible that the Coveo.SearchProvider.config (not the REST one) is not enabled?
What is the version of your Sitecore?
Also, when you say that the site fails, you mean the entire Sitecore instance, including the management shell? Or simply the search interface?
Are you able to load the Diagnostic Page?
The Coveo.SearchProvider.ProviderIndex class has a constructor with one string argument named "pName" for the index name. It means that the "pName" parameter must be declared in each index XML element like this in the
<index id="sitecore_master_index" type="Coveo.SearchProvider.ProviderIndex, Coveo.SearchProvider"> <param desc="p_Name">$(id)</param> ... </index>
Can you verify your Coveo indexes have this parameter in your configuration files?