Search is enabled for a virtual server by enabling the search application included on the server.
The Java web container must be enabled for search to be enabled.
After ensuring that Java is enabled for the virtual server you want to configure, enable search by performing the following steps:
Click the Configurations tab.
Select the configuration from the configuration list.
Click the Virtual Servers tab.
Select the virtual server from the virtual server list.
Click the Search tab.
Under Search Application, select theEnabled checkbox to enable the search application.
Other parameters which you can configure are listed below:
URI. If you plan to use a custom search application, enter the URI; if you are using the default search application, you do not need to specify a value here.
Max Hits. Specify the maximum results retrieved in a search query.
Enabled. Select this to enable the default search application.
Using CLI
To set search properties through CLI, perform the following command in CLI:
wadm> set-search-prop --user=admin --password-file=admin.pwd --host=serverhost --port=8888 --no-ssl --rcfile=null --config=config1 --vs=config1_vs_1 enabled=true max-hits=1200 |
See CLI Reference, set-search-prop(1).