Product DocsMenu

Deploying the Coveo Liferay Portlet Plug-in for Liferay 6.0

You must install the version 6.0.6.1 of the Coveo plugin for Liferay on your Liferay server to index Liferay 6.0 content.

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

  1. Using an administrator account, connect to the Coveo server.

  2. From a browser, use an administrator account to connect to your Liferay portal.

  3. On the menu bar of the Liferay portal, select Manage > Control Panel.

  4. In the Liferay Control Panel

    1. In the navigation panel on the left, under Server, click Plugins Installation.

    2. In the Plugins Installation page, select Portlet Plugins, and then click Install More Portlets.

    3. In the Plugin Installer page:

      1. Select Upload File.

      2. 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

      3. Click Install.

    4. End-users do not need to see the Coveo portlet. Consider hiding the Coveo portlet from users other than Administrator role members:

      1. In the navigation panel on the left, under Portal, select Plugins Configuration.

      2. In the Plugins Configuration page, select the CES Liferay Connector by Coveo Solutions Inc. plugin.

      3. Under Permissions, for each user other than Administrator, click Change.

      4. In the Roles page, clear the Add to page check box, and then click Save.

      5. Navigate back to the Plugins Configuration page for the Coveo plugin, and then click Save.

  5. You must also enable access to the Liferay Web services for the Coveo server:

    1. Using an administrator account, connect to the Liferay server.

    2. Using a text editor:

      1. 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.

      2. 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.

      3. 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).

People who viewed this topic also viewed