Advanced Search (including topics) #10128

Open
opened 2025-11-02 08:58:58 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @mikeperalta1 on GitHub (Jan 19, 2023).

Feature Description

It would be great if the search function (within an org, and site-wide) had booleans and other advanced search features, with perhaps a link under every search bar that could be clicked to expand a cheat sheet.

Example: Suppose I have a repo with the topics "cpp", "2022", "freelance", and "temp". Typing 2022 cpp freelance temp or any combination of space-delimited topics currently might show no results. Typing instead 2022, cpp, freelance, temp might currently show or-like results, which would include many unwanted repos. It would be great if I could do something like the following:

freelance AND (NOT kotlin AND ((2022 AND cpp) OR (2022 AND temp)))

Or perhaps alternatively just to quickly require all three keywords:

+freelance +2022 +cpp

Also maybe something like topic:freelance would be nice, to differentiate between topics and title/desc keywords. As far as I can tell, clicking a repo topic simply copies it into a normal search query.

Screenshots

No response

Originally created by @mikeperalta1 on GitHub (Jan 19, 2023). ### Feature Description It would be great if the search function (within an org, and site-wide) had booleans and other advanced search features, with perhaps a link under every search bar that could be clicked to expand a cheat sheet. Example: Suppose I have a repo with the topics "cpp", "2022", "freelance", and "temp". Typing `2022 cpp freelance temp` or any combination of space-delimited topics currently might show no results. Typing instead `2022, cpp, freelance, temp` might currently show or-like results, which would include many unwanted repos. It would be great if I could do something like the following: `freelance AND (NOT kotlin AND ((2022 AND cpp) OR (2022 AND temp)))` Or perhaps alternatively just to quickly require all three keywords: `+freelance +2022 +cpp` Also maybe something like `topic:freelance` would be nice, to differentiate between topics and title/desc keywords. As far as I can tell, clicking a repo topic simply copies it into a normal search query. ### Screenshots _No response_
GiteaMirror added the type/proposaltype/feature labels 2025-11-02 08:58:58 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#10128