-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Files: Extend search to also cover tags #26813
Conversation
1eaa8a4
to
82f8737
Compare
@marcelklehr thank you!!!!!!!!!! Beyond that, I'd like to remember two other issues:
This just because maybe it could be useful to review this code keeping in mind the requirements of those FR. |
7665381
to
9995706
Compare
But I can't replicate that manually. |
I'm a bit concerned about the performance impact of joining the tag tables for every query |
The systemtag and vcategory tables are only joined when the query involves the fields Can we extract something actionable from this concern? Should I run a benchmark? Should we cc someone else to weigh in? Should we close the feature request as wontfix due to performance reasons? |
fdd9bd1
to
1d320fc
Compare
Any update on this? |
/rebase |
1d320fc
to
071ddf8
Compare
Done :) |
Thanks! I guess squashing would also be good, then I merge :) |
fixes #326 Signed-off-by: Marcel Klehr <mklehr@gmx.net>
926b755
to
f755ee0
Compare
Done :) |
Thank you so much @marcelklehr for this, and Nextcloud's maintainers for your feedbacks and accepting to merge it! This feature will make a big difference, love it! |
Thanks! CI failure unrelated |
yay! \o/ |
Is it posible to select the found files (searched by tag) to perform any action with them? (f.i. copy them to a folder to share them). Why the search view does not show the checkboxes? (btw right click shows Select option but it does nothing) I have NC23. Thanks and great work! |
Looks like a great improvement - good work. Just one small issue - it doesn't seem working for me. We are running 24.0.5 but when I search for folder with tags, no results are showing. Does anything need to be done to enable this functionality? Additionally, we actually really want to be able to use an API to query NC for a list of files/folders with a given tag. This is for integration with a third parry app we are building. Is their a search API that a client could use to search NC by tags? Thanks in advance for any assistance - we are a bit stuck! |
As per the milestone set on the right sidebar of this page, this is a Nextcloud 25 feature. |
1. #26813 Initial implementation with support for systemtags and davtags (vcategory) 2. #39062 Additional check if the given tag exists, though ISystemTagManager.getAllTags only looks for systemtags Therefore it's not possible anymore to search for davtags and unnecessary to join the other tables. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
1. #26813 Initial implementation with support for systemtags and davtags (vcategory) 2. #39062 Additional check if the given tag exists, though ISystemTagManager.getAllTags only looks for systemtags Therefore it's not possible anymore to search for davtags and unnecessary to join the other tables. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
1. #26813 Initial implementation with support for systemtags and davtags (vcategory) 2. #39062 Additional check if the given tag exists, though ISystemTagManager.getAllTags only looks for systemtags Therefore it's not possible anymore to search for davtags and unnecessary to join the other tables. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
1. #26813 Initial implementation with support for systemtags and davtags (vcategory) 2. #39062 Additional check if the given tag exists, though ISystemTagManager.getAllTags only looks for systemtags Therefore it's not possible anymore to search for davtags and unnecessary to join the other tables. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
1. #26813 Initial implementation with support for systemtags and davtags (vcategory) 2. #39062 Additional check if the given tag exists, though ISystemTagManager.getAllTags only looks for systemtags Therefore it's not possible anymore to search for davtags and unnecessary to join the other tables. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
1. #26813 Initial implementation with support for systemtags and davtags (vcategory) 2. #39062 Additional check if the given tag exists, though ISystemTagManager.getAllTags only looks for systemtags Therefore it's not possible anymore to search for davtags and unnecessary to join the other tables. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
1. #26813 Initial implementation with support for systemtags and davtags (vcategory) 2. #39062 Additional check if the given tag exists, though ISystemTagManager.getAllTags only looks for systemtags Therefore it's not possible anymore to search for davtags and unnecessary to join the other tables. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
1. #26813 Initial implementation with support for systemtags and davtags (vcategory) 2. #39062 Additional check if the given tag exists, though ISystemTagManager.getAllTags only looks for systemtags Therefore it's not possible anymore to search for davtags and unnecessary to join the other tables. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This comment was marked as off-topic.
This comment was marked as off-topic.
1. nextcloud#26813 Initial implementation with support for systemtags and davtags (vcategory) 2. nextcloud#39062 Additional check if the given tag exists, though ISystemTagManager.getAllTags only looks for systemtags Therefore it's not possible anymore to search for davtags and unnecessary to join the other tables. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Not seeing this mentioned in the NC 25.0.0 release announcement.. What version did this actually make it into? : https://nextcloud.com/blog/announcing-nextcloud-hub-3-brand-new-design-and-photos-2-0-with-editor-and-ai/ |
@BloodyIron v25 |
I don't see release notes referencing this issue# or commit, and checking the changes between v25.0.0beta1 and v24.0.0 is over 1200 commits. So I don't see a way to explicitly confirm it. And while I suspect you're right, I'm a fan of a bird in the hand. Unless there's a method I'm not seeing? 🤔 |
@BloodyIron You can view the commit in this PR and github will tell you which tags the commit appears in. The first tag is something with v25 |
fixes #326
This is my first real server PR so please bear with me :)