Code search + repo indexer #12934

Closed
opened 2025-11-02 10:25:33 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @KazzmanK on GitHub (Apr 29, 2024).

Description

In 1.22 there is new feature to search through code by git grep
If no code indexer is enabled there is a message

image

But in my app.ini indexer is enabled

[indexer]
REPO_INDEXER_ENABLED = true
REPO_INDEXER_PATH = indexers/repos.bleve
MAX_FILE_SIZE = 1048576
ISSUE_INDEXER_PATH = indexers/issues.bleve

is this message (to enable indexer) is expected or I`m doing something wrong?

Screenshots

none

Gitea Version

1.22.0-rc1

Can you reproduce the bug on the Gitea demo site?

No

Operating System

No response

Browser Version

120

Originally created by @KazzmanK on GitHub (Apr 29, 2024). ### Description In 1.22 there is new feature to search through code by `git grep` If no code indexer is enabled there is a message ![image](https://github.com/go-gitea/gitea/assets/13328513/b709979b-0b0d-4155-ae45-7198df543636) But in my app.ini indexer is enabled ``` ini [indexer] REPO_INDEXER_ENABLED = true REPO_INDEXER_PATH = indexers/repos.bleve MAX_FILE_SIZE = 1048576 ISSUE_INDEXER_PATH = indexers/issues.bleve ``` is this message (to enable indexer) is expected or I`m doing something wrong? ### Screenshots none ### Gitea Version 1.22.0-rc1 ### Can you reproduce the bug on the Gitea demo site? No ### Operating System _No response_ ### Browser Version 120
GiteaMirror added the topic/uitype/bug labels 2025-11-02 10:25:33 -06:00
Author
Owner

@wxiaoguang commented on GitHub (Apr 29, 2024):

Oops, my mistake. -> Rename CodeIndexerEnabled to IsRepoIndexerEnabled #30762

@wxiaoguang commented on GitHub (Apr 29, 2024): Oops, my mistake. -> Rename CodeIndexerEnabled to IsRepoIndexerEnabled #30762
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#12934