Show TOC

Configuring Topicality of Search ResultsLocate this document in the navigation structure

Use

You can define how up-to-date you want the searched index to be. There are the following options:

Option

Purpose

majority

The search takes place on the index version available on the majority of slave index servers. If two index versions are equally available, TREX uses the more up-to-date of the two.

Advantage: The search queries are distributed. This setting gives the highest availability for the search because during replication TREX only switches to the new version from the old version when the majority of the slave index servers have the new version.

Disadvantage: The search may not take place using the most up-to-date data.

majority is the default setting.

latest

The search takes place using the most up-to-date index that has been released for replication.

Advantage: The search takes place using the most up-to-date data.

Disadvantage: This setting can hamper search performance. TREX always uses the up-to-date version, even if only a few (or even no) slave index servers have the most up-to-date version. If no slave index server has the most up-to-date version, the master index server receives the search queries - even if it is locked for searching. This ensures that search queries are always answered and the application receives no error message.

You can change the standard configuration in the following two ways:

  • For all new master indexes

  • For existing master indexes

Changing the Setting for all New Master Indexes

  1. Go to the window Landscape Configuration in the TREX admin tool.

  2. Choose the required setting for Search Version.

Changing the Setting for an Existing Master Index

  1. Go to the Index Landscape window in the TREX admin tool.

  2. Select the index in question and choose Landscape Configuration from the context menu.

  3. Choose the required setting for Search Version.