Topics: |
How to: |
Magnify indexes can be distributed across load balanced or indexed environments, multiple WebFOCUS installs, and mounted drives or across other similar networked devices. This means an index is virtually indexed together by actual indexes residing in multiple locations, with each location being an index that makes up the greater virtual index.
To do so, a shared directory is first setup as central location to receive incoming feed documents, which are then indexed with one of the available distributed indexes. Then, when searches are performed, all distributed indexes are queried at once, and all results are merged together into a single result set for the end user.
Each index can be independently searched, but this represents only a portion of all the information that is expected to be made searchable and is only accomplished when searching all indexes in parallel. Due to this, the collection file should be configured so that an index not only references the local index, but has bidirectional pointers to all other indexes in other locations. Each of these locations is represented by their own collection file and each must be processed in their own application server space.
Requirements:
The following procedures will walk you through how to enable and configure Magnify to concurrently index incoming feed documents across indexes.
For example, the directory can be set as: magnify\lucene_index\mag. Then, the index can be created under the following directory: mag\index.
The following settings are enabled through your WebFOCUS Client application server that is configured with your WebFOCUS environment. An example of the application server is Apache Tomcat.
-DIBI_Magnify_FeedCache_Locking_Enable=true
-DIBI_Magnify_FeedCache_Lock_File_Lifetime_Minutes=5
-DIBI_Magnify_Collections_File_Name=collections[N].xml
One limitation to using this technique is that WebFOCUS Magnify can still only be configured to a single collection file, meaning that the only way to get to Magnify is through one collection file. This results in mapping pointers to other collection files in order to virtually represent the large single index when distributing indexes.
This is a challenge in a load balanced environment where entry to Magnify should occur from any index or in the collection file.
To enable and configure Magnify for multi-collection entry point for bi-directional collection configuration, reference in load-balanced environment.
WebFOCUS | |
Feedback |