Gravatar for corrac@paragon-inc.com

Question by Cris Corra, Sep 15, 2014 10:59 AM

Searching results from multiple sources on a CM/CD/CD Sitecore setup?

Following this documentation, I've added a Security Provider for my CDs urls and added the two sitecore accounts to the source. Results are still not showing on the CD websites:https://developers.coveo.com/display/public/SC201406/Searching+Results+From+Many+Different+Sources

The additional sources are showing on the CM server website, but not on the CD websites.

-Cris Corra

Gravatar for lbergeron@coveo.com

Comment by Luc Bergeron, Sep 15, 2014 11:07 AM

Did you rebuild the source after the Sitecore accounts were added?

Gravatar for corrac@paragon-inc.com

Comment by Cris Corra, Sep 15, 2014 11:30 AM

Yes. I'm unclear as to what actually needs to be setup for the CD servers. They each have their own direct url, but they external requests go thru a load-balancer. Do they each need their own Security Provider pointing to the direct urls? or one that points to the unified url?

1 Reply
Gravatar for lbergeron@coveo.com

Answer by Luc Bergeron, Sep 15, 2014 4:07 PM

You should not need to do anything special for CD servers. From what I understand, you don't need to create new Security Providers. You can simply specify the security provider name in the Coveo.SearchProvider.config file of the CD servers by setting the "SecurityProviderName" element. See https://developers.coveo.com/display/SC201409/Using+the+Sitecore+Search+Provider

Let me know how it goes.

Luc

Gravatar for corrac@paragon-inc.com

Comment by Cris Corra, Sep 17, 2014 1:53 PM

I seem to have everything set correctly. My question about an additional Security Provider was because the Sitecore Server Url is one of its settings. I wondered if since this value is set to the authoring server url, it was not allowing the cd servers to pull the external source data.

Either way, it is still not working. I will open a support ticket as this is hampering our QA efforts.

Gravatar for slangevin@coveo.com

Comment by Simon, Apr 30, 2015 8:31 AM

The conclusion of the support case:

You need to add the same generated fields to the any external sources fieldsets in order to get those results from anywhere.

You simply need to set the "isExternal" attribute to "true" in the "fieldMap" for the fields that are shared across Sitecore sources and external sources. Doing this will prevent the fields name to be translated with an "f" prefix and a number suffix in the Sitecore sources. You still need to use the same fields in the external sources fields sets but only need to define them once without prefix and suffix.

Ask a question