Always support repo code search even if the indexer is not enabled #12707

Closed
opened 2025-11-02 10:18:37 -06:00 by GiteaMirror · 9 comments
Owner

Originally created by @arbitrary-dev on GitHub (Mar 22, 2024).

Feature Description

Here it says that Gitea supports "Repository code search":
https://docs.gitea.com/installation/comparison?_highlight=repository&_highlight=code&_highlight=search#code-management

Yet I was disappointed, when I couldn't find one on a running testing instance browsing a couple of repos:
https://try.gitea.io/

Please add it.

Screenshots

No response

Originally created by @arbitrary-dev on GitHub (Mar 22, 2024). ### Feature Description Here it says that Gitea supports "Repository code search": https://docs.gitea.com/installation/comparison?_highlight=repository&_highlight=code&_highlight=search#code-management Yet I was disappointed, when I couldn't find one on a running testing instance browsing a couple of repos: https://try.gitea.io/ Please add it. ### Screenshots _No response_
GiteaMirror added the issue/needs-feedback label 2025-11-02 10:18:37 -06:00
Author
Owner

@lunny commented on GitHub (Mar 22, 2024):

The try site and default instances haven't enabled it. You can try in your self-hosted instances.

@lunny commented on GitHub (Mar 22, 2024): The try site and default instances haven't enabled it. You can try in your self-hosted instances.
Author
Owner

@arbitrary-dev commented on GitHub (Mar 22, 2024):

The try site and default instances haven't enabled it.

Why so?

And, is there anywhere in the docs a description on how to enable it?

@arbitrary-dev commented on GitHub (Mar 22, 2024): >The try site and default instances haven't enabled it. Why so? And, is there anywhere in the docs a description on how to enable it?
Author
Owner
@lunny commented on GitHub (Mar 22, 2024): https://docs.gitea.com/administration/repo-indexer?_highlight=indexer#setting-up-the-repository-indexer
Author
Owner

@6543 commented on GitHub (Mar 22, 2024):

@arbitrary-dev be aware your text is formulated harsh and unfreandly ... exactly the "demand"ing part!

This is a foss project, if you want to demand anything you can only do so if you have a contract by paying (not donating by the way ...) witch you dont!

@6543 commented on GitHub (Mar 22, 2024): @arbitrary-dev be aware your text is formulated harsh and unfreandly ... exactly the "demand"ing part! This is a foss project, if you want to demand anything you can only do so if you have a contract by paying (not donating by the way ...) witch you dont!
Author
Owner

@wxiaoguang commented on GitHub (Mar 22, 2024):

Actually I am writing one: Support repo code search without external indexer #29998


And I agree with 6543, since this is an open source community, it's better to put oneself in someone else's shoes and think as the contributors & volunteers

@wxiaoguang commented on GitHub (Mar 22, 2024): Actually I am writing one: Support repo code search without external indexer #29998 ---- And I agree with 6543, since this is an open source community, it's better to put oneself in someone else's shoes and think as the contributors & volunteers
Author
Owner

@arbitrary-dev commented on GitHub (Mar 22, 2024):

Cool, thanks! @wxiaoguang

Then it seems like the current documentation is a bit ambiguous on the topic.
It says "Repository code search: ✓", when in reality it is:

Repository code search: ✓ *

* external indexer required


Some people just need to grow up and stop being offended by mere words :)

@arbitrary-dev commented on GitHub (Mar 22, 2024): Cool, thanks! @wxiaoguang Then it seems like the current documentation is a bit ambiguous on the topic. It says "Repository code search: ✓", when in reality it is: Repository code search: ✓ * \* external indexer required <hr/> Some people just need to grow up and stop being offended by mere words :)
Author
Owner

@wxiaoguang commented on GitHub (Mar 22, 2024):

Here is Gitea Community Code of Conduct, we encourage to use positive and "welcoming and inclusive language"

https://github.com/go-gitea/gitea/blob/main/CODE_OF_CONDUCT.md

@wxiaoguang commented on GitHub (Mar 22, 2024): Here is Gitea Community Code of Conduct, we encourage to use positive and "welcoming and inclusive language" https://github.com/go-gitea/gitea/blob/main/CODE_OF_CONDUCT.md
Author
Owner

@6543 commented on GitHub (Mar 23, 2024):

external indexer required

Thats wrong you can set belve as indexer witch is compiled in ...

@6543 commented on GitHub (Mar 23, 2024): > external indexer required Thats wrong you can set belve as indexer witch is compiled in ...
Author
Owner

@arbitrary-dev commented on GitHub (Mar 24, 2024):

witch

*which

@arbitrary-dev commented on GitHub (Mar 24, 2024): > witch *which
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#12707