Skip to content
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

Search a repository #3701

Closed
1 of 7 tasks
Fastidious opened this issue Mar 21, 2018 · 3 comments
Closed
1 of 7 tasks

Search a repository #3701

Fastidious opened this issue Mar 21, 2018 · 3 comments

Comments

@Fastidious
Copy link

  • Gitea version (or commit ref):
  • Git version: N/A
  • Operating system: N/A
  • Database (use [x]): N/A
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

I have looked, and I have not found the ability to search the contents of a repository (like GitHub allows, for example). Could it be implemented?

@lunny
Copy link
Member

lunny commented Mar 21, 2018

If you mean search the code, gitea has implemented this issue. You could enable it on app.ini.

@Fastidious
Copy link
Author

@lunny where? I searched app.ini.sample and found nothing related to search.

@lunny
Copy link
Member

lunny commented Mar 21, 2018

see https://docs.gitea.io/en-us/config-cheat-sheet/

Indexer (indexer)
ISSUE_INDEXER_PATH: indexers/issues.bleve: Index file used for issue search.
REPO_INDEXER_ENABLED: false: Enables code search (uses a lot of disk space).
REPO_INDEXER_PATH: indexers/repos.bleve: Index file used for code search.
UPDATE_BUFFER_LEN: 20: Buffer length of index request.
MAX_FILE_SIZE: 1048576: Maximum size in bytes of files to be indexed.

@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants