Update the P4 Search configuration

After you install P4 Search and complete the initial configuration, you can update the configuration by specifying values in the web UI or by editing a local file. You can follow the same procedures to update the configuration whenever necessary.

You must have admin permissions to configure P4 Search.

Configure P4 Search from the web UI

  1. Log in to the P4 Search web UI with P4 Server credentials that are administrator level or higher.

  2. On the upper toolbar, click Account and then click Configure.

    The Configuration page opens.

  3. Choose a configurable and click the arrow Dropdown arrow to expand it.

  4. Make your changes.

    To install or delete an extension, turn its toggle switch on or off.

  5. Click Apply.

  6. Restart P4 Search for the changes to take effect.

Configure P4 Search locally

  1. Locate the config.properties file, which is typically located in one of the following directories:

    • Linux: /etc/p4search/config.properties

    • Windows: C:\Program Files\Perforce\P4Search\config.properties

    The location of the configuration file can be changed and might be different in your system environment.

  2. Choose a configurable and change its value. For example, to change the port of the P4 Server connection, you could update the following configurable:

    com.perforce.p4search.core.p4port=localhost:1666

    The updated configurable might look like this:

    com.perforce.p4search.core.p4port=perforce.com:1666

  3. Save the configuration file.

  4. Restart P4 Search for the changes to take effect.

For a full list of P4 Search configurations, see P4 Search configuration reference.