Feature Request: Index search for sub folders and all branches #5776

Closed
opened 2025-11-02 06:35:38 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @iamdoubz on GitHub (Jul 23, 2020).

  • Gitea version (or commit ref): 1.12.2+2-g64eaa2a94
  • Git version: 2.27.0.windows.1
  • Go version: 1.14.6
  • Operating system: Windows Server 2012 R2
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist: N/A

Description

According to the documentation, the indexer is only for the default branch. I would like to request two items:

  1. If I have lots of sub-folders, when I initiate a search from one of these sub-directories, only search that directory (but recursively)
  2. Add an [indexer] option to include indexing all branches in repos as opposed to just the default branch

Screenshots

N/A

Additional

Possibly a bug but I like to think of it as not implemented yet, but I will ask the question: what happens if I change the default branch? Does the indexer pick up that change automatically, or do I need to do something new/different?

Originally created by @iamdoubz on GitHub (Jul 23, 2020). - Gitea version (or commit ref): 1.12.2+2-g64eaa2a94 - Git version: 2.27.0.windows.1 - Go version: 1.14.6 - Operating system: Windows Server 2012 R2 - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] Not relevant - Log gist: N/A ## Description According to the documentation, the indexer is only for the default branch. I would like to request two items: 1. If I have lots of sub-folders, when I initiate a search from one of these sub-directories, only search that directory (but recursively) 2. Add an `[indexer]` option to include indexing all branches in repos as opposed to just the default branch ## Screenshots N/A ## Additional Possibly a _bug_ but I like to think of it as not implemented yet, but I will ask the question: what happens if I change the default branch? Does the indexer pick up that change automatically, or do I need to do something new/different?
GiteaMirror added the type/proposal label 2025-11-02 06:35:38 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#5776