Viewing the Results in Real Time

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.


Top of page

x
Procedure: How to View the Changes Made Using a URL Request

To view the changes, return to the sample default URL.

  1. Navigate to the default Magnify search page using the following URL request:
    http://host:port/wfcontext_root/search?proxyreload=1&clearcache=1
    &collections=collections.xml

    where:

    host:port

    Is the machine name and port number where WebFOCUS is installed.

    wfcontext_root

    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.

    proxyreload

    When set to 1, refreshes the style sheet to reflect changes without restarting the application server.

    clearcache

    When set to 1, removes cached information on the application server whenever changes are made to the collections.xml file.

    collections

    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
  2. With the Default Collection selected in the collection drop-down menu, enter the Boolean search for movies OR cars in the search field.
  3. Click the Search button.

    All 70 records are returned in the results, as shown in the following image.

  4. Select the Movies collection from the drop-down menu.
  5. Click the Search button.

    The 60 records for movies are returned in the results.

  6. Select the Cars collection from the drop-down menu.
  7. Click the Search button.

    The 10 records for cars are returned in the results, as shown in the following image.


WebFOCUS