Add support for indexing and searching custom fields for repositories (#962)
At GitLab, we encountered limitations when searching within large namespaces
containing thousands of repositories. Specifically, we cannot pass a complete
list of RepoIDs due to size constraints.
This change introduces support for indexing and searching on custom repository
metadata by extending Repository to include an additional Metadata field.
All fields within Repository.Metadata are searchable using a regular
expression evaluator.
This enables more scalable filtering by allowing clients to express regular
expression prefix queries on metadata fields, such as:
traversal_ids:123-456-.*
Or any field really:
haystack:nee.*le
This is a binary file and will not be displayed.
This is a binary file and will not be displayed.