Description Syntax Examples setSearchConfig

Oracle WebCenter Custom WLST Commands 10-179

10.17.15.3 Example

The following example deletes the discussion and announcement crawlers configured on the Oracle SES instance http:myseshost.com:7777 for a WebCenter Spaces application named webcenter located at http:myhost.com:8888webcenterspaces: deleteDiscussionsCrawlerappName=webcenter, sesUrlhttp:myseshost.com:7777searchapiadminAdminService, sesPassword=password, host=myhost.com, port=8888

10.18 Search - WebCenter Search

Use the commands listed in Table 10–26 to manage search settings and crawl options for WebCenter Spaces and other WebCenter portal applications. Configuration changes made using these WebCenter WLST commands are effective immediately; no restart is required.

10.18.1 setSearchConfig

Module: Oracle WebCenter Use with WLST: Online

10.18.1.1 Description

Modifies search settings for a WebCenter application. If a parameter is not specified it is not modified.

10.18.1.2 Syntax

setSearchConfigappName,[numSavedSearches],[numResultsRegion],[numResultsMain], [executionTimeout],[prepareTimeout],[showAllExecutionTimeout], [server], [applicationVersion] Table 10–26 WebCenter Spaces Crawler WLST Commands Use This Command... To... Use with WLST... setSearchConfig Modify search settings for a WebCenter application. Online listSearchConfig List search properties for a WebCenter application. Online setSpacesCrawlPropertie s Specify crawl properties for a WebCenter application. Online getSpacesCrawlProperti es Return the current crawl settings for a WebCenter application. Online Argument Definition appName Name of the WebCenter application in which to perform this operation. numSavedSearches Optional. The number of saved searches to display in the Saved Searches drop down on main search page. numResultsRegion Optional. The number of saved searches displayed in a Saved Search task flow. numResultsMain Optional. The number of search results displayed, per service, for searches submitted from the main search page. 10-180 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

10.18.1.3 Examples

The following example specifies that saved searches display five search results per service. Additionally, that a seven second search execution timeout is required. wls:weblogicserverConfig setSearchConfigappName=webcenter, numResultsRegion=5, executionTimeout=7000; The following example increases the number of saved searches in the Saved Searches drop down list to eight. wls:weblogicserverConfig setSearchConfigappName=webcenter, numSavedSearches=8; The following example sets the search execution timeout to five seconds and allows each service fifteen seconds to display search results before timing out. wls:weblogicserverConfig setSearchConfigappName=webcenter, executionTimeout=5000, showAllExecutionTimeout=15000;

10.18.2 listSearchConfig