JCR search service configuration parameters
The following search service configuration parameters can be modified to enable and configure searching for content that is stored in the JCR database. These JCR search service configuration parameters can be modified by accessing the JCR ConfigService PortalContent resource environment provider.
- Log in to WebSphere® Integrated Solutions Console.
- Click JCR ConfigService PortalContent. and select
- In the Additional Properties section of the Configuration window, select Custom properties.
- jcr.textsearch.enabled
This parameter enables or disables text search. The default value is true. Set this value to false to disable the text search run time. This parameter is required.
- jcr.textsearch.indexdirectory
This parameter specifies the directory where indexes are stored, for example,/opt/IBM/WebSphere/wp_profile/PortalServer/jcr/searchIndexes. This parameter is required if text search is enabled (jcr.textsearch.enabled=true).
- jcr.textsearch.PSE.type
- This parameter specifies whether the search service is a local search service or a remote search service. The default value is localhost. Specify one of the following values:
- localhost
- This value specifies the search service as a local search service.
- EJB
- This value specifies the search service as a remote search service. Notes:
- SOAP support for remote search service was deprecated with WebSphere Portal Version 8.0.
- If you are using a remote search service, you must also specify thejcr.textsearch.EJB.IIOP.URL andjcr.textsearch.EJB.EJBName parameters.
- jcr.textsearch.EJB.IIOP.URL
This parameter specifies the URL of the naming service that is used to access the WebScannerEJB, for example, iiop://localhost:2811. Specify this parameter if you are using a remote search service (jcr.textsearch.PSE.type=EJB).
- jcr.textsearch.EJB.EJBName
This parameter specifies the name of the WebScanner EJB, for example, ejb/com/ibm/hrl/portlets/WsPse/WebScannerLiteEJBHome. Specify this parameter if you are using a remote search service (jcr.textsearch.PSE.type=EJB).
- jcr.query.collation.db2.enabled
This parameter enables or disables collation support for the ordering of results in the JCR XPath queries. This parameter is for all DB2 platforms. The default value is false. Specify true to enable collation support.