Update the P4 Search configuration
After you install P4 Search and complete the initial configuration, you can update the configuration by using the P4 Search UI or one of the properties files. To learn whether to set a configurable in the P4 Search web UI or in one of the local properties files, see the Configure from column in the configurable table in the P4 Search configuration reference topic.
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, switch the toggle on or off.
-
Click Apply.
Configure P4 Search locally
-
Locate the configuration file, which is typically located in one of the following directories:
-
Linux:
-
/opt/perforce/helix-p4search/etc/service.properties
-
/opt/perforce/helix-p4search/etc/default.config.properties
-
-
Windows:
-
C:\Program Files\Perforce\P4Search\service.properties
-
C:\Program Files\Perforce\P4Search\default.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 the P4 Search service by running the following command as root:
sudo systemctl restart p4search.service
Related topics
For a full list of P4 Search configurables, see P4 Search configuration reference.