Skip to content

Search problems or request to customize search settings #30064

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

Open
amix307 opened this issue Mar 25, 2024 · 6 comments
Open

Search problems or request to customize search settings #30064

amix307 opened this issue Mar 25, 2024 · 6 comments
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented type/bug

Comments

@amix307
Copy link

amix307 commented Mar 25, 2024

Description

My repositories contain code for CI/CD system builds such as Jenkins or Teamcity.
Teamcity stores its code in the .teamcity directory, which can contain directories of several nesting levels, as well as xml, kotlin files.
The problem is that Gitea's built-in Bleeve indexer ignores this directory and I get no search results in it. On the other hand, if I store the parameters for Maven in the .mvn directory, the search is successful.

I suspect this is something that can be controlled or is a bug that I would like to fix.

Gitea Version

1.21.7

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

Centos9 Stream

How are you running Gitea?

on-prem

Database

PostgreSQL

@lunny
Copy link
Member

lunny commented Mar 25, 2024

Can you give some example repositories?

@amix307
Copy link
Author

amix307 commented Mar 25, 2024

@lunny Of course, but on try.gitea.com search func is off. In what form can I give the repo example?

@amix307
Copy link
Author

amix307 commented Mar 25, 2024

@lunny for example, clone random repo with .teamcity directory from GH: https://github.com/jonnyzzz/TeamCity.Node
Then push it to your Gitea instance with enabled search.
Search something from .teamcity, for example "uploadedKey" from .teamcity/TeamCityNodePlugin/vcsRoots/git___github_com_jonnyzzz_TeamCity_Node_git.kt

@amix307
Copy link
Author

amix307 commented Apr 5, 2024

@lunny Hi! Will you be able to check? I want to understand how bleve works as part of gitea. File size limits are available, but here I clearly fit in and it selectively searches in directories with a dot at the beginning of the name

@lunny lunny added the issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented label Apr 7, 2024
@lunny
Copy link
Member

lunny commented Apr 7, 2024

I confirmed this is a bug. I will do some investigation.

@amix307
Copy link
Author

amix307 commented Jan 21, 2025

@lunny any news?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented type/bug
Projects
None yet
Development

No branches or pull requests

2 participants