Subscribe:

Pages

Saturday, October 6, 2012

Sitecore Coveo search connector field mapping

Coveo connector for Sitecore provides a flexible way of indexing the sitecore metadata through mapping file. It is very important to configure the metadata mapping properly for providing desired search results to users. Configuration of Coveo connector and mapping file are well described here. But there are couple of points that we need to know we have to create a custom mapping class to handle complex mappings.

  1. Where to copy the assembly containing the custom class?
    Answer: Program Files\Coveo\Bin
    This is important because Coveo installation folder has couple of bin folders
    • Program Files\Coveo\Bin
    • Program Files\Coveo\Web\Bin
  2. Issue I had was even after copying the assembly to the "Program Files\Coveo\Bin" Coveo was not able to resolve the custom class and I was getting error "Mapping resolver type 'XXX,MyAssembly' doesn't exist" when crawl is started. Problem here was after you copy dll to bin folder you have to restart the Coveo service for it to resolve custom class.

No comments :

Post a Comment