In this section:
WebFOCUS must know the location of the search engine, the XSLT style sheet to use for the Magnify user interface, and the maximum number of items that should be returned by the search results tree. These items have preset defaults.
The following procedure explains how to set the search engine parameters using the WebFOCUS Administration Console.
To set the search engine parameters in WebFOCUS:
The following image shows the WebFOCUS Administration Console with the default Settings for Magnify in the right pane.
Specifies the file name where the Lucene® indexes and collections are defined. The default value is collections.xml. However, by default, this file does not exist. Instead, the Magnify installation provides a collections.xmltemplate file in the drive:/ibi/WebFOCUS81/config/magnify directory, which defines default values for analyzers. This file can be renamed to collections.xml and modified to reflect the desired settings for your Magnify environment.
Specifies the full path to the directory where the configuration files are located.
If your installation needs to make changes to the configuration directory, you should move this directory outside of the ibi directory. This ensures that future WebFOCUS upgrades do not overwrite your configuration information.
The default location is drive:/ibi/WebFOCUS81/config/magnify.
Specifies the directory where Magnify stores records which are not yet loaded into the index. The files stored in this directory are files which are generated from the iWay Service Manager feed process. After all content is added to the Lucene index, the cached version is moved or deleted depending on the magnify_generate_deltas variable value of true or false. An index during a quiesce is loaded into the index after the backup of the Lucene index is complete.
The default location is drive:/ibi/WebFOCUS81/magnify/feedcache.
Specifies the full path to the directory where the default Lucene index resides. This is only active for the Lucene search engine.
The default location is drive:/ibi/WebFOCUS81/magnify/lucene_index.
Additional search directories are configured in config/magnify/collections.xml.
Specifies the maximum number of search results returned by a search request. Any results beyond this number are not displayed to the user. The default value is 300 results.
Specifies the database driver of the Magnify database. If using a Derby database, the default value is org.apache.derby.jdbc.ClientDriver. By default, this is the same value as the IBI_Repos_DB_Driver setting in the Repository section under the Applications node of the Configuration menu.
Specifies the password used to connect to the Magnify database. The default value is webfocus. By default, this is the same value as the IBI_Repos_DB_Password setting in the Repository section under the Application Settings node in the Configuration menu.
Specifies the connection URL to the Magnify database. For example, jdbc:derby://localhost:1527/MagnifyDB;create=true.
Specifies the user ID used for connections to the Magnify database. The default value is webfocus. By default, this is the same value as the IBI_Repos_DB_User setting in the Repository section under the Configuration menu.
If an HTTP cookie name is specified, Magnify verifies that the cookie is set. If the required cookie does not exist, Magnify displays the webpage specified by the IBI_Magnify_Required_Cookie_Redirect setting. If the IBI_Magnify_Required_Cookie setting is blank (the default value), Magnify does not verify any cookies.
Specifies the webpage that Magnify displays if the HTTP cookie specified by the IBI_Magnify_Required_Cookie setting does not exist in the browser session of the user.
Note: If you are planning to use the Dynamic Partitioning feature, in addition to configuring the required database connection settings, you must execute a set of scripts that are located in the drive:/ibi/WebFOCUSxx/utilities/WFReposUtil directory. For more information, see Using Dynamic Partitioning to Scale Magnify Index Libraries.
Configuration of the search engine for Magnify is complete.
When indexing large amounts of records, the information is not available for search until it is committed to the index. Magnify enables administrators to set timers for when prolonged indexing occurs. Commits can be issued during this time, thereby updating the index library. This ensures that the latest version of the index library is available when a search is performed.
Magnify timers regulate Magnify operations while transmitting feeds to the index library. This affects how and when new search content is made available to the Magnify search-based application. This is useful when indexing large amounts of data. Timers control Magnify operations such as open, close, and write. This helps tune the Magnify platform for various indexing activities by adjusting times to help control the frequency at which Magnify operations take place, thereby assisting in memory and performance allocation.
When Magnify receives incoming feeds, they are first held in memory for processing, then they are written to the physical index library. Once a feed is written, then it can be made available to the Magnify search-based application. After the search syncs its view of the index library, the newly fed record will be returned as a search result.
There are several different timers that can be configured using the settings in the following page:
Alternatively, you can access the timer settings by clicking Magnify Timers in the Magnify Console.
The following page displays.
You can set the following timers for the index:
Note: When indexing, the Magnify Administrator can set the Commit Timer to a very low value (for example, 5 seconds) so that Magnify users retrieve the new search data almost immediately.
Important: Changes made to the timer settings should be tested before being applied in a production environment, since data size, memory allocations, and CPU specifications differ between machines.