Skip to content

search support for searching filenames #26299

Closed
@inbjo

Description

@inbjo

Feature Description

Hello, everyone.
I'm using elasticsearch as a search driver.

I often come across scenarios where I need to search for a file name in a repository or an organization.
Currently, gitea only supports searching for code content.

When I look at the storage structure in elasticsearch, I see that gitea treats the file path as the primary key, and it seems that the primary key cannot be searched for in elasticsearch.

To summarize:
I want to be able to search the file name to find out which repository the file belongs to and the path. I think this is a very useful feature. Many thanks to the gitea team!

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    proposal/acceptedWe have reviewed the proposal and agree that it should be implemented like that/at all.type/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions