Gravatar for sathis.k.durairaj@accenture.com

Question by Sathis, Dec 23, 2016 1:10 PM

Coveo Query Not Returning Any Results in CD server

I am using coveo for sitecore version 3.0 and facing issue when query the results from CD servers.

I have separate CM and CD servers connected same index server and all the index strategies are running on CM server only. when i rebuilt the coveo index from CM server, the both master and web indexes are successfully created in CES server and master and web indexes document fields are generated with some random unique number added to the sitecore filed names.

When i query the results from CM server i can see correct fields names in coveo query and returning results but at the same time when i hit search from CD server, the field names in coveo query is not as same in web index document field names and due to that no results are returning.

I am trying to understand how coveo maintaining this random number added to query fields.

1 Reply
Gravatar for sbelzile@coveo.com

Answer by Sébastien Belzile, Dec 23, 2016 1:58 PM

The number is not really random: it is generated from the name of your sources. In other words, you need to set the name of the sources on your CD instances.

OOTB in C4SC 3.0, sources are named after:

  • The name of your index
  • The name of your instance
  • The name of your computer

If you read the scaling guide, you should see a step indicating how to set the name of your sources.

Additional informations for C4SC 4.0: The scaling guide of Coveo for Sitecore 4.0 does not mention the sourceName setting. C4SC 4.0 has an additional setting called farmName. If this setting is set, the name of Coveo sources will have the format [indexName] - [farmName] => no need to explicitly setting the sourceName.

Gravatar for sathis.k.durairaj@accenture.com

Comment by Sathis, Dec 23, 2016 2:17 PM

Thank you so much. Setting source name in CD server index resolved the issue.

Ask a question