Configure P4 Search

After you have installed P4 Search, you can configure it from the web UI or locally.

You must be an administrator 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 greater.

  2. Click the Account button from the top navigation bar and select Configure.

    The Configuration page opens.

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

  4. Make your changes.

    Extensions have toggles that let you install or delete them.

  5. Click Apply.

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

Configure P4 Search locally

  1. Locate the config.properties file:

    • Linux: For example, /etc/p4search/config.properties

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

    The location of the configuration file may be different in your setup and can be changed.

  2. Choose a configuration and change its value. For example, you could change

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

    to

    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.