Product DocsMenu

Customizing the Liferay Connector Mapping File

The Coveo connector for Liferay portals comes with a default mapping file that makes the connector ready to index the default Liferay entities (see About the Liferay Connector Mapping File).

You can customize the mapping file to fine-tune the indexed content or to include other Liferay entities.

To customize the mapping file

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

  2. Using a text editor:

    1. Open the default mapping file: [CES_Path]\bin\Coveo.CES.CustomCrawlers.Liferay.DefaultMappingFile.xml

      Example: With the default installation path: C:\Program Files\Coveo Enterprise Search 7\Bin\Coveo.CES.CustomCrawlers.Liferay.DefaultMappingFile.xml

    2. Save the file using a name of your choice in the [Index_Path]\Config\ folder.

      Example: With the default index path: C:\CES7\Config\MyLiferayMappingFile.xml

    3. Respecting the mapping file format (see About the Liferay Connector Mapping File), customize the file. Use the CustomFields section to directly reference columns present on a Liferay entity.

    4. Save your changes.

What's Next?

Specify your customized mapping file in your Liferay source (see Configuring and Indexing a Liferay Source).

People who viewed this topic also viewed