Configuring JCR search in a portal farm | HCL Digital Experience
JCR-based content includes content that is created with Web Content Manager or Personalization.
About this task
Note: If you create content in a portal farm with the Authoring portlet,
extra configuration steps are required. The steps enable content that
is created by these content features to be searchable in a farm.
Procedure
- Log in to WebSphere® Integrated Solutions Console.
Cluster note: In a clustered environment, log in to the Deployment Manager WebSphere® Integrated Solutions Console.
- Click .
- Change the value of the jcr.textsearch.enabled property to false.
-
Change the value of the jcr.textsearch.indexdirectory
property to the index directory on the remote search server.
For example, jcr.textsearch.indexdirectory=\\\\your_server\\your_remotesearch\\jcr\\search. You can specify the directory value in the following format:
- Universal Naming Convention (UNC) format
- \\\\your_server\\your_remotesearch\\jcr\\search
Example: \\\\hostname.example.com\\share\\jcr\\search
-
Based on the configuration of your remote search service, change the jcr.textsearch.PSE.type property to either EJB or
SOAP; then choose the appropriate extra steps:
Table 1. The steps depend on the value for the jcr.textsearch.PSE.type property. Value Extra steps EJB Complete the following steps if you have an EJB service: - Change the jcr.textsearch.EJB.IIOP.URL property to the URL of the naming service that is used to access the WebScanner EJB; for example iiop://localhost:2811.
- Change the jcr.textsearch.EJB.EJBName property to the name of the WebScanner EJB; for example ejb/com/ibm/hrl/portlets/WsPse/WebScannerLiteEJBHome.
SOAP If you have a SOAP service, change the jcr.textsearch.SOAP.url property to the SOAP URL of the WebScanner for the search service. - Save your changes.
- Restart your server.
- Required: Complete the following steps to delete
the default search collections from the Manage Search portlet:
- Log on to HCL Portal as an administrator.
- To open the Manage Search portlet, click the Administration menu icon. Then, click .
- Click Search Collections.
- Click the Delete Collection icon for the Portal Content search collection.
- Click OK.
- Restart the HCL Portal server.
- Go to the Manage Search portlet and confirm that the Portal Content search collection was deleted.
- Manually create a JCR collection called JCRCollection1; refer to Setting up JCR Search Collection for information.