How to: |
After you have mapped collections to index libraries and added drop-down options for each collection, you will need to refresh the Magnify session with the application server, such as Apache Tomcat.
This can be accomplished by restarting the application server, although this is not recommended if it shared by other users.
A quicker option is to issue specific query string parameters, one time only, as part of the next Magnify request, in order to refresh the Magnify session with the application server.
To view the changes, return to the sample default URL.
http://host:port/wfcontext_root/search?proxyreload=1&clearcache=1 &collections=collections.xml
where:
Is the machine name and port number where WebFOCUS is installed.
Is the WebFOCUS application root.
Note: Sample or default URLs are for informational purposes only and may not resolve correctly, if at all.
Query string parameters start with a question mark (?), if one is not already present, and are separated by an ampersands (&) thereafter.
When set to 1, refreshes the style sheet to reflect changes without restarting the application server.
When set to 1, removes cached information on the application server whenever changes are made to the collections.xml file.
Specifies an alternate collections configuration file, in this case collections_myexample.xml
Note: The .xml extension is not typically required. While a collection file can use any name, it is recommended that you include the collections_ prefix to help organize multiple configurations.
This is the full default URL:
http://localhost:8080/ibi_apps/search?proxyreload=1&clearcache=1 &collections=collections.xml
All 70 records are returned in the results, as shown in the following image.
The 60 records for movies are returned in the results.
The 10 records for cars are returned in the results, as shown in the following image.
WebFOCUS |