Show TOC

Changing the Index and Queue DirectoryLocate this document in the navigation structure

Use

SAPinst creates an index directory and a queue directory in the directory <TREX_DIR>. You can change these directories if necessary (for example, if you want the directories to be located in a different partition).

Procedure

  1. Create the index directory or queue directory in the required partition.
    Note

    We recommend that you use the directory names index or queue.

  2. Make sure that the directory permissions match with those of the original directory (<TREX_DIR>/index or <TREX_DIR>/queue).
  3. Stop TREX (seeStarting and Stopping TREX).
  4. Edit the configuration file <TREX_DIR>/sapprofile.ini. Change the parameter TREX/IndexServer/basepath/index or TREX/IndexServer/basepath/queue so that the relevant parameter now points to the new directory.

    Only use forward slashes (/) in paths (even on Windows).

    Tip

    The standard configuration is:

    TREX/IndexServer/basepath/index=%(SAP_RETRIEVAL_PATH)/index

    TREX/QueueServer/basepath/queue=%(SAP_RETRIEVAL_PATH)/queue

    If TREX is running on UNIX; enter the following:

    TREX/IndexServer/basepath/index=/my_path/index

    TREX/QueueServer/basepath/queue=/my_path/queue

    If TREX is running on Windows and the directories are located on a local disk drive, enter the following:

    TREX/IndexServer/basepath/index=D:/my_path/index

    TREX/QueueServer/basepath/queue=D:/my_path/queue

    If TREX is running on Windows and the directories are located on a file server, enter the following:

    TREX/IndexServer/basepath/index=//my_server/my_path/index

    TREX/QueueServer/basepath/queue=//my_server/my_path/queue

    Note

    All remaining paths are only relevant for a distributed system.

  5. Start TREX (seeStarting and Stopping TREX).