Support #5375
openHow do I configure "Go to" to just search repository names?
0%
Description
Prior to setting up the full-text search, I used "Go to" as a quick way of getting to a repository - click "Go to" and then type the first few letters of the repository name and it would promptly appear ready to be clicked. However, with this set-up, clicking "Search" and then doing a full-text search didn't work as the search index wasn't set up. To fix this, I set up a cron job to run the indexer and now search works perfectly. However, "Go to" seems to now use the search index to do a full commit search rather than just going to a repository by name. As a result, it takes up to 30 seconds to produce the list of repositories (with a load of commits that I'm never interested in added onto the end) and it's now far quicker (but still slow) to work my way down through the long hierarchy of repository groups to get to the repository I'm interested in.
Is there a way to configure "Go to" to just (quickly) search repositories by name? If I want a more thorough search I'll click "Search" and use that interface.
Updated by Marcin Kuzminski [CTO] about 7 years ago
Hi Alan,
Thanks for your feedback, the go-to search for commit was a contributed feature. We're sorry this affected the UX in this way. We actually decided that this should be more explicit, e.g typing commit:HASH should search for commits in go-to switcher. We'll make that change in the next release so just typing for names shoudl search repositories only, since :
is not allowed in repository name it will never hit full text search unwanted.
If this is a very problematic thing for you now we'll let you know how to disable it manually in the instance, or you can wait for 4.10 release.
Best
Updated by Redmine Integration about 7 years ago
- Status changed from New to Resolved
Commit b9fd9a54fa23 by Marcin Kuzminski marcin@rhodecode.com on default branch changed this issue. https://internal-code.rhodecode.com/rhodecode-enterprise-ce/changeset/b9fd9a54fa23dd0753d13f7926aa39c92b2da69d
Updated by Alan Budden about 7 years ago
Marcin Kuzminski [staff] wrote:
Hi Alan,
Thanks for your feedback, the go-to search for commit was a contributed feature. We're sorry this affected the UX in this way. We actually decided that this should be more explicit, e.g typing commit:HASH should search for commits in go-to switcher. We'll make that change in the next release so just typing for names shoudl search repositories only, since
:
is not allowed in repository name it will never hit full text search unwanted.If this is a very problematic thing for you now we'll let you know how to disable it manually in the instance, or you can wait for 4.10 release.
Best
Thanks for responding so quickly Marcin. I think I'll put up with the delays and wait for the official release rather than messing around with my install, but thanks for the offer anyway.
Alan