Indexing by repository group


#1

Is it possible to configure full text search indexing to only include/exclude certain repository groups?

The documentation at https://docs.rhodecode.com/RhodeCode-Enterprise/admin/indexing.html#advanced-indexing makes no mention of groups. If not, this would be a great feature - manually having to maintain a set of include/exclude repositories is extremely difficult when you have hundreds of repos.


#2

I believe the mapping.ini file can be used for that. When using indexer and using --mapping paremeter it’s possible to specify patterns for indexing.

inside this file:

[__INCLUDE__]
; include all globs repo names from here.

repo_group/* = 1

Such syntaxt will index all repositories within the repo_group.

you can create an example mapping file with --create-mapping flag