Search code in repository #1625

Closed
opened 2025-11-02 04:07:21 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @mmarif4u on GitHub (Mar 14, 2018).

  • Gitea version (or commit ref): 1a83581

I have enabled search code in repository. I have few files from gitea like head.tmpl, app.ini, Default for labels etc in it.

If i search for enhancement, i get the following result.

#14dfd9 duplicate
#97df14 enhancement
#dfb014 api

But if i search for #97df14 or 97df14, it does not return anything. Nothing found.

Another example, i search for SECRET_KEY which is in app.ini, it returns nothing found.
Search for localhost return correct file and location which is app.ini.

Same for custom.css, which is in head.tmpl file, nothing found. But if i search for Custom it do return the correct files and code area.

Am i missing something here?

Originally created by @mmarif4u on GitHub (Mar 14, 2018). - Gitea version (or commit ref): 1a83581 I have enabled search code in repository. I have few files from gitea like head.tmpl, app.ini, Default for labels etc in it. If i search for `enhancement`, i get the following result. ``` #14dfd9 duplicate #97df14 enhancement #dfb014 api ``` But if i search for `#97df14` or `97df14`, it does not return anything. Nothing found. Another example, i search for `SECRET_KEY` which is in app.ini, it returns nothing found. Search for `localhost` return correct file and location which is app.ini. Same for `custom.css`, which is in head.tmpl file, nothing found. But if i search for `Custom` it do return the correct files and code area. Am i missing something here?
GiteaMirror added the type/question label 2025-11-02 04:07:21 -06:00
Author
Owner

@techknowlogick commented on GitHub (May 10, 2018):

It could be that the indexing isn't fully complete. Have you run these same tests again later on?

@techknowlogick commented on GitHub (May 10, 2018): It could be that the indexing isn't fully complete. Have you run these same tests again later on?
Author
Owner

@techknowlogick commented on GitHub (Jul 21, 2018):

Closing. Please re-open if you are still experiencing this.

@techknowlogick commented on GitHub (Jul 21, 2018): Closing. Please re-open if you are still experiencing this.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1625