Advanced Search: Add Traversal Ids for Commits Index
Overview
Searches that are across entire groups can be slow if the Group has a large number of projects. This is because the query will contain all the project IDs that are part of the selected group.
Adding the Group Hierarchy in the indexed document will allow for the query to specify the group level as a filter and keep eliminate the need to have a large list of project IDs included in the query.
Using the new field in the query will be handled in a related issue
Steps
-
Add
traversal_idsto Commits index mapping MR example -
Index
traversal_idsto Commits Index -
Backfill
traversal_idsfor Commits MR example
Edited by 🤖 GitLab Bot 🤖