MEGA Administration : Administrator Guide : Managing Repositories : Using Repositories : Enabling and Customizing Repository Indexing
   
Enabling and Customizing Repository Indexing
To allow the user to execute quick searches in MEGA solutions, the repository must first be indexed.
Indexing runs automatically every 10 minutes (modifiable default value) with the indexing scheduler (RDBMS specific). This indexing is incremental (indexing modified objects only).
*To modify scheduler default configuration, see "Customizing the indexing scheduler (RDBMS)". For detailed information on the scheduler, see the technical article HOPEX Studio - Scheduler.
*The initial indexing can take some time depending on the size of your repository (eg: more than 30 hours for a 2 GB repository, of which business documents constitute a major part), and can slow the performance of MEGA. Remember to run this initial indexing when other MEGA users are not connected.
*Take care to allow sufficient disk space before enabling indexing: statistically for a large repository (eg: 2 GB) of which business documents constitute a major part, the indexing size can represent twice the repository size.
Enabling/Disabling repository indexing for quick search
By default, repository indexing is not enabled.
To enable/disable repository indexing:
1. Access properties of the repository concerned.
*See "Consulting and Modifying Repository Properties".
2. Select/Clear Repository Indexing to enable/disable repository indexing.
3. Click OK.
The scheduler (RDBMS specific) updates indexing every 10 minutes.
*To modify scheduler default configuration, see "Customizing the indexing scheduler (RDBMS)".
Indexing is carried out for all of the languages installed.
When indexing is completed, the "Repository Name".IX folder is created in the corresponding folder of the repository. This folder contains indexing results.
Indexing a repository manually
When the scheduler is unavailable (GBMS), or for initial indexing, the administrator can index the repository manually.
To index a repository manually:
*To be able to manually index the repository, the repository indexing option must be selected, see "Enabling/Disabling repository indexing for quick search".
1. From MEGA Administration, connect to the environment in which the repository is referenced.
*See "Connecting to an Environment", page 5.
2. Expand the Repositories folder.
3. Right-click the repository to be indexed and select Index for Quick Search.
Indexing is carried out for all of the languages installed.
*For initial indexing, the "Repository Name".IX folder is created in the corresponding folder of the repository. This folder contains indexing results.
Customizing the indexing scheduler (RDBMS)
You can modify indexing scheduler default configuration.
To modify indexing scheduler default configuration:
1. Access the repository concerned.
*See "Accessing Repositories".
2. Right-click Scheduler and select Manage Triggers.
3. Select the System Triggers tab.
4. Right-click Indexing Automaton and select Update Scheduling.
The indexing scheduler configuration window appears.
5. Modify the configuration.
6. Click OK.
*For detailed information on the scheduler, see the technical article HOPEX Studio - Scheduler.