Configuring JCR search in a portal farm
JCR-based content includes content that is created with Web Content Manager or Personalization.
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.
-
Log in to WebSphere® Integrated Solutions Console.
Cluster note: In a clustered environment, log in to the Deployment Manager WebSphere Integrated Solutions Console.
-
Click Resources > Resource Environment > Resource Environment Providers > JCR ConfigService PortalContent > Custom properties.
-
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:
Value Extra steps EJB Complete the following steps if you have an EJB service: 1. 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.
2. 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.
-
Complete the following steps to delete the default search collections from the Manage Search portlet:
-
Log on to HCL Digital Experience (DX) as an administrator.
-
To open the Manage Search portlet, click the Administration menu icon. Then, click Search Administration > Manage Search.
-
Click Search Collections.
-
Click the Delete Collection icon for the Portal Content search collection.
-
Click OK.
-
Restart the HCL DX 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.
-