Skip to content

Repo Indexer Type Bleve does not work with new migrated repositories. #16152

Closed
@safag05

Description

@safag05
  • Gitea version (or commit ref): 1.14.2
  • Git version: 2.26.3
  • Operating system: Custom Gitea Image, deployed via helm charts on Kubernetes.
  • Database (use [x]):
    • [ x] PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • [x ] No

...

Hello,

After enabling REPO_INDEXER_ENABLED = true I have migrated a repository from Github and tried using Code Search feature on the UI to find a line from that repository however it did not return any output. After following the instructions from the Gitea discussions Code Search worked on the migrated repository. I looked through the issues on Github regarding this but did not find much about it. Is this something that can be worked on to automate the process so that we do not have to go inside the Kubernetes pod (in my case) and delete the "indexers" folder and reboot the pod in order for the changes to apply to the new migrated repositories after each migration?

My app.ini file
[indexer]
REPO_INDEXER_ENABLED = true

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions