Skip to content

Code search + repo indexer #30761

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
KazzmanK opened this issue Apr 29, 2024 · 1 comment · Fixed by #30762
Closed

Code search + repo indexer #30761

KazzmanK opened this issue Apr 29, 2024 · 1 comment · Fixed by #30762
Labels
topic/ui Change the appearance of the Gitea UI type/bug

Comments

@KazzmanK
Copy link
Contributor

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

@wxiaoguang
Copy link
Contributor

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

techknowlogick pushed a commit that referenced this issue Apr 29, 2024
Fix  #30761

Most places use `IsRepoIndexerEnabled` but not `CodeIndexerEnabled`, so
it should always use `IsRepoIndexerEnabled` for consistency.
GiteaBot pushed a commit to GiteaBot/gitea that referenced this issue Apr 29, 2024
Fix  go-gitea#30761

Most places use `IsRepoIndexerEnabled` but not `CodeIndexerEnabled`, so
it should always use `IsRepoIndexerEnabled` for consistency.
silverwind pushed a commit that referenced this issue Apr 29, 2024
Backport #30762 by @wxiaoguang

Fix  #30761

Most places use `IsRepoIndexerEnabled` but not `CodeIndexerEnabled`, so
it should always use `IsRepoIndexerEnabled` for consistency.

Co-authored-by: wxiaoguang <[email protected]>
@go-gitea go-gitea locked as resolved and limited conversation to collaborators Jul 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
topic/ui Change the appearance of the Gitea UI type/bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants