Product DocsMenu

Deploying the Coveo Liferay Portlet Plug-in for Liferay 6.1

CES 7.0.8047+ (December 2015)

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

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 Go to > 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 the Private Plugin Installer tab, and then go to step e)

      Note: If you do not see the Private Plugin Installer tab:

      1. Select the Portlet Plugins tab, and then click Install More Portlets.

      2. Follow the instructions starting at step c.

    3. (When the Private Plugin Installer CE application is not installed on your Liferay portal) In the Liferay Marketplace:

      1. In the Search box, enter private, press Enter, and then select Private Plugin Installer CE.

      2. In the Private Plugin Installer CE page, click Free.

      3. In the Purchase page:

        1. Select an existing project or click Add a New Project.

        2. When you click Add a New Project:

          1. In the New Project dialog, enter a project name in the box, and then click Add.

          2. Select the project you just created.

        3. When you agree with the terms, select the I have read and agree to the End User License Agreement and the Terms of Service check box.

        4. In the box at the bottom of the page, enter a Legal Entity Name.

        5. Click Purchase.

        6. On the Receipt page, select See Purchased.

        7. In the Purchased Apps page, select the project in the Owner drop-down list, and then next to Private Plugin Installer CE, click Install.

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

    4. In the Plugins Installation page, select the Private Plugin Installer tab.

    5. In the Private Plugin Installer page:

      1. Select the Upload File tab.

      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 or [CES_Path]\bin\CESLiferayConnector-portlet-6.1.1.1.war.

        Example: With the default installation path: C:\Program Files\Coveo Enterprise Search 7\bin\CESLiferayConnector-portlet-6.0.6.1.war

      3. Click Install.

    6. 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:\Liferay6.1.1GA2\tomcat-7.0.27\bin\shutdown.bat
        C:\Liferay6.1.1GA2\tomcat-7.0.27\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