Creating a custom project for search-related customizations
You can create and maintain a utility project under your workspace for all your search-related customizations.
Follow these steps to add your custom code into the search EAR class path:
Important: Be aware of the following restrictions when you implement search-related customizations on the
HCL Commerce Search server.
The search server does not have access to the following components:
- BOD-based component services or SDO objects.
- HCL Commerce task or controller commands.
- HCL Commerce EJB, data beans, or access beans.
For more information about the search server architecture, see HCL Commerce Search interface.
For more information about the search compatibility paths, see Migrating.
Procedure
-
Create a utility project under your workspace.
For example, SearchServerExtensionsLogic.
- Select .
- Enter a project name, such as SearchServerExtensionsLogic and select Finish.
-
Configure the class path of the new project to include the Search EAR JAR files.
-
Add the SearchServerExtensionsLogic to the
Search-Rest WAR utility projects.
- Select the J2EE view, if not already selected.
- Go to the following location: .
- Right-click web.xml and select .
- Select
- Click Add and select Project.
- Select the newly created project, SearchServerExtensionsLogic, and click Finish.
- Click OK.
- Publish your test server and restart your search application