Repository navigation
Possibility to search system tags with a better query system #4851
Description
Activity
- added0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmap
on May 14, 2017 cc @nextcloud/designers
A first change here could be a syntax like:
labelname not:label-to-exclude
Similar to how other search services do it.
Reacted by joesch2 and WobakIf you choose to use syntax, you could also provide something a bit more powerful/complex with parentheses and OR operator.
Maybe the best solution could be an "easy" interface with limited functionality plus possibility to use syntax to have more power.Have a look how GitHub's Issue Tracker does.
- visual filter in "Tags"-menu, which will apply as syntax in the search bar.
- syntax in search bar
I am running into a problem that may highlight a "use case" for you here: https://help.nextcloud.com/t/limit-tags-scope-for-shared-folders/20560
- addedstaleTicket or PR with no recent activityTicket or PR with no recent activity
on Jun 20, 2018 - removedstaleTicket or PR with no recent activityTicket or PR with no recent activity
on Jun 12, 2019 Do we want tags in unified search @jancborchardt ?
Reacted by Julius Knorr and SpartachettoPretty please!
On a more serious tone: the unified search seems a really interesting development.
I do understand the idea that a lot of users do not use tags, yet I think that if Nextcloud offer that functionality it should offer also (as far as possible) tools to use it properly.
As you are redefining search and vastly improving it, my impression is that not including tags in it would be a missed opportunity.
Thank you for al the improvements you are developing!
Reacted by FelixKainzThank you for al the improvements you are developing!
Thanks :)
The issue with tags is that listing all direct tagged ressources isn't really that great on Nextcloud (the files tag view is awful)So I would be up for this once we have a proper tags view 🤔
Clearly better tags view + better search tools for tags would be terrific!!!
Is there any issue for the better tags view?
I do not remember seeing it, yet if it exists it could be helpful to link it here...
Maybe #2143 could be the right issue...- added1. to developAccepted and waiting to be taken care ofAccepted and waiting to be taken care ofand removed0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmap
on Nov 8, 2020 One feature that probably should be easy to implement is to allow searching for tags by any part of the string, not only the beginning.
In my instance, I have a lot of tags like
from:foo,from:baz, etc. Typingfoowhen adding a tag results in 0 matches, so I have to typefrom:, which results in a lot of irrelevant tags.Reacted by John Molakvoæ, Spartachetto, Jagan Mohan R, FelixKainz and Quint Guvernatorstefan-niedermann commented
on Feb 12, 2021 on Feb 12, 2021 · Hidden as off-topicshow commentMore actionsWould like to bring up this topic again. In general tags are really powerful, however how they are currently implemented for files, they are pretty useless (Nextcloud 30.0.1):
- Unified search doesn't support searching for multiple tags (search syntax would probably have to be enhanced for that, ideally with boolean operators
- In the files application only a single tag can be selected (so a tag is similar to a folder) - would suggest a filter possibility (like we have it for document types, but with checkboxes to have the possibility to select multiple tags). E.g. the deck app has such a filter
Reacted by shathippens, FelixKainz, Hunduster, mschxyz, SupEcoLu, takumi, Tobias Eggert, Quint Guvernator, Jordan Liebold and Fridtjof SchiefenhövelIn general tags are really powerful, however how they are currently implemented for files, they are pretty useless
Yes, please! Tags can be soo powerful. I cannot live without them.
The poor tagging search is my biggest issue with Nextcloud :/Reacted by Hunduster, shathippens, joesch2, SupEcoLu, Tobias Eggert, Quint Guvernator, Jordan Liebold and Fridtjof SchiefenhövelIn the files application only a single tag can be selected (so a tag is similar to a folder)
In the older versions of the files app it was possible to search for multiple tags, which was an amazing feature.
I'm not entirely sure why it's not possible anymore and how difficult it would be to bring it back.As an example: We organize quite a few files concerning public events (think something like concerts).
When looking for the print files of posters from all events in 2024, I'd just typeprint,posterand2024.Now I can only search for a single tag.
So looking forprintwill give me everything we ever printed,posterwill give me every poster from every event and2024will give me everything from the year 2024, including contracts, photos and whatnot.Reacted by SupEcoLu, takumi, Tobias Eggert, Io-Qo, Jordan Liebold and Fridtjof SchiefenhövelHello,
I would like to bring this up too.
We have several project where we wanted to use tags to classify documents.We can't use tags as expected as there is no way to search for multiple tags.
For instance, If we want to find all documents owned by IT regarding HPe servers, we should search for tag IT and HPe and Servers.In the current state, we can only search for IT or for HPe or for Server tag, so it's unfortunately pretty useless to us.
Regards,
Reacted by takumi, Tobias Eggert, Quint Guvernator, Io-Qo, LostinSpacetime, Jordan Liebold, Fridtjof Schiefenhövel and mstossI would also underline that this has existed in the past and within my organisation we built our file structure around the possibility to search for multiple tags. Then this has - without any warning - been removed and literally people had to manually sort thousands of files back into separate folders to make them findable again. Making this change was rather careless in my opinion so I would also beg the developers to bring it back and make sure it stays.
I want to summarise the advantages:
- being able to virtually sort files into multiple "folders" with tags when you can't actually sort one file into multiple folders without creating copies
- assigning tags with flow can be automated (!)
- file retention is based on tags
- files access control is based on tags
So many of Nextcloud's inherent features evolve around tags, searching for tag combinations seems only natural and also shouldn't really be a big hurdle to implement.
Reacted by LostinSpacetime, Jordan Liebold, Fridtjof Schiefenhövel, mstoss and Carlos Rodriguez+1 from me for the re-introduction of the capability to search for multiple tags!
Reacted by mstoss and Carlos Rodriguez+1 this feature would be very useful to me.
It would be really useful to have the possibility to search not only for tag A AND tag B but also for tag A AND NOT tag B, or tag A OR tag B
I would value especially tag A AND NOT tag B.
Some use cases:
I was thinking that even a"simple" change in the interface would be a big improvement.

My hypothesis of how to make it work would be:
This feature should take into account #2143, which is already part of #4699 and scheduled for Nextcloud 13