The OneBox module works as installed, but has some parameters that may be tuned if required by a particular installation. These parameters are all servlet initialization parameters in:
MIDDLEWARE_HOME/user_projects/epmsystem1/domains/EPMSystem/servers/RAFramework/webapps/raframework/WEB-INF/web.xml
The parameters are all included in the OneBoxServlet definition.
Table 32. OneBox Module Parameters
Parameter | Description |
---|---|
MaxResults | Maximum number of search results returned to the Google Search Appliance. Increasing the number only works until the OneBox module runs out of time retrieving results. |
ResultChunk | Size of the chunk returned within the hard-limit timeout of the Google Search Appliance. To ensure at least some results are returned within the Google Search Appliance's hard-limit timeout, the results are retrieved from the Search service in smaller chunks regardless of the setting of the MaxResults parameter For example, if MaxResults=150 and ResultChunk=10, the OneBox module progressively asks for results 1-10, 11-20, ..., 141-150. This way it will always have some results to return before getting all 150.. |
ResponseTimeout | Time for the OneBox Module to finish the current call to the Search service, format the retrieved results, and return them to the Google Search Appliance. The Google Search Appliance allows each external module up to three seconds to return its results, after which it assumes there are no results. The OneBox module works by retrieving small chunks of results until either all available results are retrieved, the configured maximum number of results are retrieved, or there is a danger of the Google Search Appliance assuming the OneBox module is taking too long and ignoring its results. Slow or busy networks might require adjustments to ResponseTimeout. The value of ResponseTimeout is in 1000s of a second (milliseconds). |
SessionTimeout | How long automatically-created sessions can be idle before timing out and closing. The OneBox module creates a session for each user who submits a search request, so any returned document can be opened without having to log in again.The value of SessionTimeout is in 1000s of a second (milliseconds). |