Install Coveo with two separate set of Indexes per application
Hi everyone, I have a server that contains two Sitecore8 Applications running under the same IIS. The idea is to install Coveo in that server but create a Web and Master Coveo index only for application one, and another Master and Web Coveo appplication for application 2.
This is because app1 and app2 can contains different data and I want that each application uses their own indexes.
Can you advise if this is possible and how to do this?
I really appreciate it.
When installing Sitecore, you have to type in an instance name. By default, Coveo for Sitecore uses this instance name to name the index resources accordingly (sources, indexing queues, field sets, security provider, user identity). So, it should just work OOTB.
If necessary, you can also use the
SourceName index setting to force the name of the Coveo source for a specific Sitecore index. You will find more information in this topic: https://developers.coveo.com/display/SC201510/Changing+the+Name+of+Sources+Created+in+the+Coveo+Index
I hope this helps
I suppose you would like to share the data between both Sitecore instances. 2 scenarios here :
The recommanded setup when you want 2 Sitecore websites to share data is to have them on the same Sitecore instance. Sitecore is great for dealing with multiple web sites.
The easiest way to implement multiple sites in Sitecore is to have 3 nodes under the content item, two of them are the entry points of your websites, the third one will be for shared content.
You index everything in the same index and filter at query time. The rule editor has a rule "where the item is x or one of its sub-items".
If you are wondering about urls, the Sitecore link manager can help you with that. It can resolve urls in the context of the current site: https://developers.coveo.com/display/public/SC201510/Using+the+Sitecore+LinkManager+to+Resolve+URIs+in+a+Coveo+Search+Page
2 Sitecore instances both indexed with the same CES. You can query content from other sources with a proper CoveoSearch component configuration: https://developers.coveo.com/display/public/SC201510/Displaying+External+Content+in+a+Search+Interface