Index Helix Search
You must be an admin user to perform indexing in Helix Search.
This section contains information about how to index the Helix Core Server from the Helix Search web UI.
To index Helix Search from the web UI:
-
Select the Account arrow from the top navigation bar.
-
Select Indexing and the Indexing tab is displayed.
Add an index filter
You can include or exclude a specific depot path when indexing the Helix Core Server.
Helix Search provides a default mapping that excludes depots that are not local or stream, and it also excludes the following depot paths:
-
//.swarm/...
-
//.p4-extensions/...
-
//.../.git/...
The index filter mappings are saved to the etc/indexFilter.json file.
To set filters on indexing your Helix Core Server:
-
Select the Filter tab.
-
Click Add and a dialog opens.
-
Enter the specific Depot Path you want to add the filter to.
-
Enter the Type of the filter. For example, INCLUDE or EXCLUDE.
-
Click Add to apply the filter.
Indexing over a period of time
You can perform indexing based on specific time periods. Use the Index History slider to select the time period for which you want to perform indexing and click the Execute button.
The Index History slider provides the following time period options:
-
Last Day: Indexes all changes committed in the previous day.
-
Last Week: Indexes all changes committed in the last week.
-
Last Month: Indexes all changes committed in the last month.
-
Last Year: Indexes all changes committed in the last year.
-
Everything: Indexes the entire Helix Core Server.
-
Custom: Indexes based on your selections in the Revision Ranges tab, Depot Path tab, and By User tab. See Custom indexing.
Perforce recommends you only use the Index Everything option for the first time you index or re-index on a small server. Indexing your entire Helix Core Server database can take a long time to complete.
Force update
Toggle Force Update to enable or disable re-indexing of existing indexed changes.
-
When Force Update is enabled, Helix Search updates existing changes.
-
When Force Update is disabled, Helix Search skips changes that have already been indexed.
Custom indexing
You can customize your selections to perform indexing on the Helix Core Server by using the Revision Range, Depot Path, and User tabs. The tabs can be used on their own or combined to create a custom indexing requests. For example, you can index a range of change numbers, in a depot path for a specific user. If you combine tabs, don't click Execute or Index until you have finished setting up your indexing request.
Revision Ranges tab
To perform indexing on a specific range of change numbers or dates (YYYY/MM/DD), in the Revision Ranges tab:
-
Enter the Helix Core Server change number or date you want to start indexing from and the change number or date you want to stop indexing at.
-
If you want to use more than one tab for your indexing request, set the other tabs before going to the next step.
-
Click Execute. A dialog appears providing an estimate for the indexing operation.
-
Click Index to start indexing.
Depot Path tab
To perform indexing on all changes in a depot path, in the Depot Path tab:
-
Enter the depot path you want to index.
-
If you want to use more than one tab for your indexing request, set the other tabs before going to the next step.
-
Click Execute. A dialog appears providing an estimate for the indexing operation.
-
Click Index to start indexing.
By User tab
To perform indexing for a specific user, in the User tab:
-
Enter the name of the Helix Core Server user.
-
If you want to use more than one tab for your indexing request, set the other tabs before going to the next step.
-
Click Execute. A dialog appears providing an estimate for the indexing operation.
-
Click Index to start indexing.