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.
Configure P4 Search from the web UI
-
Log in to the P4 Search web UI with P4 Server credentials that are administrator level or higher.
-
On the upper toolbar, click Account and then click Configure.
The Configuration page opens.
-
Choose a configurable and click the arrow
to expand it. -
Make your changes.
To install or delete an extension, turn its toggle switch on or off.
-
Click Apply.
-
Restart P4 Search for the changes to take effect.
Configure P4 Search locally
-
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.
-
-
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
-
Save the configuration file.
-
Restart P4 Search for the changes to take effect.
For a full list of P4 Search configurations, see P4 Search configuration reference.