Gravatar for svivero@gmail.com

Question by svivero, Feb 1, 2015 11:25 PM

Sitecore farm env

Hi,

From what I can see Coveo creates a separate index for each server in a farm. I don't understand why it is setup this way, shouldn't all servers share the same index, this way index data is always in sync amongst servers.

Is it possible to have a single index for multiple servers? Also, I'd like to have it setup so I don't have to fiddle with index security everytime I add a new server to the farm.

1 Reply
Gravatar for vseguin@coveo.com

Answer by Vincent Séguin, Feb 2, 2015 7:43 AM

Hi,

Coveo can easily have a single index for multiple servers. You can install it on a server and make all your Sitecore instances point to it, just as described here : https://developers.coveo.com/display/SC201501/Installing+Coveo+for+Sitecore+on+Multiple+Hosts (you may want to read the two articles).

Gravatar for svivero@gmail.com

Comment by svivero, Feb 3, 2015 9:54 PM

Great tried that thx!

But it only seems to work after I rebuild each index from each server which is a hassle. I think this is because Coveo only creates a new security provider for the new server on the initial rebuild index request. Is there a way around this?

I'd like to be able to add servers to the farm without messing around with security providers each time or rebuilding indexes for each new server.

Gravatar for vseguin@coveo.com

Comment by Vincent Séguin, Feb 4, 2015 8:04 AM

Everything is indeed created on the initial rebuild, you will need to perform a new rebuild for each server.

Gravatar for jflheureux@coveo.com

Comment by Jean-François L'Heureux, Feb 4, 2015 8:29 AM

All servers can use the same security provider by specifying the same value in the SecurityProviderName element of the Coveo.SearchProvider.config file in all Sitecore instances: https://developers.coveo.com/display/SC201502/Understanding+the+Coveo+Search+Provider's+Configuration+File#UnderstandingtheCoveoSearchProvider'sConfigurationFile-Basicconfigurationsettings

Ask a question