Configuring JCR search in a cluster | HCL Digital Experience
To enable search in a cluster for content that is stored in the JCR database, you must configure each server in the cluster to access a directory. JCR-based content includes content that is created with Web Content Manager or Personalization.
Before you begin
Procedure
- Log in to the WebSphere® Integrated Solutions Console of the deployment manager.
- Select .
- In the Resource environment providers page, make the appropriate selection to update the custom properties
for all of the servers in the cluster. Choose one of the following
two options:
- Select the appropriate cluster from the Scopes list.
- Clear the Show Scope check box and select Browse Clusters to specify the portal cluster.
- Select .
-
Change the value of the jcr.textsearch.indexdirectory
property to point to a directory on the remote search server.
For example, jcr.textsearch.indexdirectory=C:/JCR.
-
Change the jcr.textsearch.PSE.type property to
EJB
. -
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.
- Change the jcr.textsearch.enabled value to true.
- Save your changes.
- Restart your servers.
- In a cluster, you must drop the JCRCollections
in the default search service and then re-create them in a remote
search service, otherwise you receive display errors in your search.
Complete the following steps to delete the JCRCollections 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 JCRCollection1 search collection.
- Click OK.
- Restart the WebSphere® Portal Server.
- Go to the Manage Search portlet and confirm that the JCRCollection1 search collection was deleted.
- Manually create a JCR search collection called JCRCollection1. For more information about creating the JCR search collection, see Setting up a JCR search collection in the related links.