Deploying the Coveo Liferay Portlet Plug-in for Liferay 6.0
Note: CES 7.0.7914– (October 2015) You must install the 6.0.5.1 version of the plugin.
To deploy the Coveo Liferay portlet plugin
-
Using an administrator account, connect to the Coveo server.
-
From a browser, use an administrator account to connect to your Liferay portal.
-
On the menu bar of the Liferay portal, select Manage > Control Panel.
-
In the Liferay Control Panel:
-
In the navigation panel on the left, under Server, click Plugins Installation.
-
In the Plugins Installation page, select Portlet Plugins, and then click Install More Portlets.
-
In the Plugin Installer page:
-
Select Upload File.
-
Click Choose File, and then browse to and select the Coveo Liferay portlet plugin Web archive (WAR) file: [CES_Path]\bin\CESLiferayConnector-portlet-6.0.6.1.war
CES 7.0.7914– (October 2015) [CES_Path]\bin\CESLiferayConnector-portlet-6.0.5.1.war
Example: With the default installation path: C:\Program Files\Coveo Enterprise Search 7\bin\CESLiferayConnector-portlet-6.0.6.1.war
CES 7.0.7914– (October 2015) C:\Program Files\Coveo Enterprise Search 7\bin\CESLiferayConnector-portlet-6.0.5.1.war
-
Click Install.
-
-
End-users do not need to see the Coveo portlet. Consider hiding the Coveo portlet from users other than Administrator role members:
-
In the navigation panel on the left, under Portal, select Plugins Configuration.
-
In the Plugins Configuration page, select the CES Liferay Connector by Coveo Solutions Inc. plugin.
-
Under Permissions, for each user other than Administrator, click Change.
-
In the Roles page, clear the Add to page check box, and then click Save.
-
Navigate back to the Plugins Configuration page for the Coveo plugin, and then click Save.
-
-
-
You must also enable access to the Liferay Web services for the Coveo server:
-
Using an administrator account, connect to the Liferay server.
-
Using a text editor:
-
Open, or create if it does not already exist, the [Liferay_Installation_Path]\tomcat-x.x.xx\webapps\ROOT\WEB-INF\classes\portal-ext.properties text file.
-
Add the following lines to the file to allow access only to the Coveo Master server:
axis.servlet.hosts.allowed=[Coveo_Server_IP_Address] axis.servlet.https.required=false tunnel.servlet.hosts.allowed=[Coveo_Server_IP_Address] tunnel.servlet.https.required=false
where you replace [Coveo_Server_IP_Address] by the IP address of the Coveo Master server.
-
Restart the Liferay server to apply changes to the properties and activate the listeners used for incremental refresh by shutting down and restarting the Web server:
Example: With a Tomcat server, in a command prompt window, run the following files:C:\liferay-portal-6.0.6\tomcat-6.0.29\bin\shutdown.bat C:\liferay-portal-6.0.6\tomcat-6.0.29\bin\startup.bat
Restarting the server is required to apply changes to the properties and activate the listeners used for incremental refresh.
-
-
What's Next?
Create a Liferay account with which the Coveo connector can fully crawl the Liferay content (see Setting up a Liferay Crawling Account).