Show TOC

Allowing Searching on Master IndexesLocate this document in the navigation structure

Use

In a distributed system, you cannot search on the master indexes by default. Search requests are answered only by slave index servers, and not by the master index servers.

The default configuration has the following advantages:

  • Faster indexing

    The resources on the master index server do not need to be shared among indexing and searching processes.

  • Less main memory requirement

    A write variant and a read variant exist for each master index. If the master index server only carries out indexing, only the write variant has to be loaded to the main memory. If the master index server carries out indexing and searching, both variants have to be loaded to the main memory.

You can change the default configuration so that the master index servers are also used for searching. This makes sense in the following cases:

  • You are able to ensure that the master index servers do not index and search at the same time. This may be the case, for example, if indexing always takes place at night when there are no users using the system for searching.

  • You have static indexes. These are indexes that you have created and intend to update rarely (for example, every three months).

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. Start the TREX admin tool on any host in the distributed system.

  2. Go to the Landscape Configuration window.

  3. Select Search on Master/Backup Server

  4. Activate this change by choosing Deploy.

Changing the setting for an existing master index

  1. Start the TREX admin tool on any host in the distributed system.

  2. Go to the Index Landscape window.

  3. Select the index in question and choose Index Properties from the context menu.

  4. Select Search on Indexer (Master/Backup)