Coveo returning duplicate results
We have this weird issue occurring with only 1 of our template types in our site, and it's only happening on our production Content Delivery site. When querying for an item we are getting multiple results of the same item. When I look at the response from the Coveo rest call, I see the same item with different versions returning. I've added the enableDuplicateFiltering parameter to the query to prevent them from showing up in the UI, but can anyone tell me why they might be showing up on the site this way?
Thanks in advance, Nick
In your last comment to the question, you mention that your pubweb index strategy is:
<strategies hint="list:AddStrategy"> <strategy ref="contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsync"/> </strategies>
That is the problem! Your strategy is a reference to
contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsync. If you check your showconfig.aspx and look for that config node, you'll see that this strategy is hardcoded to listen to the web database publish events. Not the pubweb database.
You have to copy the referenced strategy XML elements and replace your reference by that copy. Then change web for pubweb.