A delta index only speeds up the update of the corresponding index if it is small. If it becomes too large, you have to integrate it into the main index. After the integration has taken place TREX creates a new delta index.
The integration process involves TREX rewriting all main index files. The duration of the integration process depends on the size of the main index. It can last a few minutes or several hours.
In a distributed system the entire main index has to be replicated after the integration has taken place. This replication takes about the same amount of time as the initial replication.
The index server cannot index new documents during the integration of the delta index. This has the following effects:
You can trigger the integration process manually or carry it out at defined time intervals. There are two difference procedures for time-dependent integration. The procedure that you use depends on whether indexing takes place with or without a queue server (QS). The table below gives an overview of the procedures.
Use with | ||
---|---|---|
Procedure | Indexing with QS | Indexing without QS |
Manual |
! |
! |
Time-dependent using the queue server |
! |
|
Time-dependent using the Python scheduler |
! |
We recommend the following for the time of the integration:
Integrating the Delta Index Manually
Integrating the Delta Index Time-Dependently Using the Queue Server
In the queue parameters enter the time for the integration in Merge Time for Delta Index.
Use All (4:00) to trigger replication every morning at 4am.
You do not need to coordinate the integration time with other activities carried out by the queue server and index server. If the activities collide, the index server coordinates when it carries out which action.
For more information on changing queue parameters, seeConfiguring Queue Parameters.
Integrating the Delta Index Time-Dependently Using the Python Scheduler
Change the following configuration files on all master name servers:
Configuration file | Change |
---|---|
TREXDaemon.ini |
|
crontab.ini |
Remove the comment sign from the following line: <schedule> python mergeDeltaIndex.py ‑‑silent ‑‑allIndexes=1 '' Modify the schedule if necessary. For information on syntax and for examples, see the configuration file. |