This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Baloo search by tag/rating/comment

Tags: None
(comma "," separated)
Yukariin
Registered Member
Posts
6
Karma
0

Baloo search by tag/rating/comment

Fri Dec 12, 2014 6:40 pm
How I can find files in dolphin by tag/rating/comment?
Search works only with filename or file content...
User avatar
vHanda
KDE Developer
Posts
84
Karma
0
OS
* Ratings - These can be searched from the advanced find menu of Dolphin. Press Ctrl + F, and then choose "More Opitons"
* Tags - You can search for tags, by clicking on the tag or by using the tags protocol "tags://"
* Comments - No really possible right now.

With Baloo 5.1, more advanced search capabilities were introduced such that you can do complex searches of any kind. Eg - "rating < 2 OR (tag:Dolphin AND userComment:fire)". However, the current released version of Dolphin is still using Qt4. So, you'll have to wait for about 4 months until the next KDE Applications Release where a KF5 based version of Dolphin will be released.
Yukariin
Registered Member
Posts
6
Karma
0
vHanda wrote:* Tags - You can search for tags, by clicking on the tag or by using the tags protocol "tags://"
* Comments - No really possible right now.

Ugh... But if I want search by few tags or comments? For example "tagA tagB -tagF".

And how about custom attributes? For example: I have digital collection of photos/arts/pictures and want add some custom attributes like author, series, people/characters, copyrights. And I want use search by these attributes.
metzman
Registered Member
Posts
171
Karma
3
OS
For real indexing and search (until such time as Baloo matures into a truly usable product) take a look at "Recoll".
http://www.lesbonscomptes.com/recoll/
https://en.wikipedia.org/wiki/Recoll
(Yes, I'm in 'Recoll Evangelism Mode') >:D
User avatar
vHanda
KDE Developer
Posts
84
Karma
0
OS
Yukariin wrote:
vHanda wrote:* Tags - You can search for tags, by clicking on the tag or by using the tags protocol "tags://"
* Comments - No really possible right now.

Ugh... But if I want search by few tags or comments? For example "tagA tagB -tagF".

And how about custom attributes? For example: I have digital collection of photos/arts/pictures and want add some custom attributes like author, series, people/characters, copyrights. And I want use search by these attributes.


Then please upgrade to Plasma 5.1, with that you can perform all kinds of queries you want.

-> baloosearch://?query=artist:Coldplay AND (title:Fix or title:yellow)
More information is available over here - http://vhanda.in/blog/2014/10/search-fo ... lasma-5-1/

Dolphin is still not using Baloo 5.1.
User avatar
vHanda
KDE Developer
Posts
84
Karma
0
OS
metzman wrote:For real indexing and search (until such time as Baloo matures into a truly usable product) take a look at "Recoll".
http://www.lesbonscomptes.com/recoll/
https://en.wikipedia.org/wiki/Recoll
(Yes, I'm in 'Recoll Evangelism Mode') >:D


Perhaps you could answer the author's query and point out how to search for tags, ratings or comments via recoll? Or via Dolphin + Recoll?
metzman
Registered Member
Posts
171
Karma
3
OS
vHanda wrote:
metzman wrote:For real indexing and search (until such time as Baloo matures into a truly usable product) take a look at "Recoll".
http://www.lesbonscomptes.com/recoll/
https://en.wikipedia.org/wiki/Recoll
(Yes, I'm in 'Recoll Evangelism Mode') >:D


Perhaps you could answer the author's query and point out how to search for tags, ratings or comments via recoll? Or via Dolphin + Recoll?

It's all in the first quoted link. (Read and you will learn.)
User avatar
vHanda
KDE Developer
Posts
84
Karma
0
OS
metzman wrote:
vHanda wrote:
metzman wrote:For real indexing and search (until such time as Baloo matures into a truly usable product) take a look at "Recoll".
http://www.lesbonscomptes.com/recoll/
https://en.wikipedia.org/wiki/Recoll
(Yes, I'm in 'Recoll Evangelism Mode') >:D


Perhaps you could answer the author's query and point out how to search for tags, ratings or comments via recoll? Or via Dolphin + Recoll?

It's all in the first quoted link. (Read and you will learn.)


I must be slow. Could you please copy and paste the relevant solution? I couldn't find any way to search through tags, rating or comments. I read through it multiple times.
Yukariin
Registered Member
Posts
6
Karma
0
vHanda wrote:Then please upgrade to Plasma 5.1, with that you can perform all kinds of queries you want.

-> baloosearch://?query=artist:Coldplay AND (title:Fix or title:yellow)
More information is available over here - http://vhanda.in/blog/2014/10/search-fo ... lasma-5-1/

Dolphin is still not using Baloo 5.1.

I see, in new plasma I also can add some custom attributes too?
User avatar
vHanda
KDE Developer
Posts
84
Karma
0
OS
Yukariin wrote:
vHanda wrote:Then please upgrade to Plasma 5.1, with that you can perform all kinds of queries you want.

-> baloosearch://?query=artist:Coldplay AND (title:Fix or title:yellow)
More information is available over here - http://vhanda.in/blog/2014/10/search-fo ... lasma-5-1/

Dolphin is still not using Baloo 5.1.

I see, in new plasma I also can add some custom attributes too?


You can search by all the attributes present in the file - artist, album, etc. Here is the full list if you are interested - https://projects.kde.org/projects/kde/k ... operties.h

What do mean by adding custom attributes?
Yukariin
Registered Member
Posts
6
Karma
0
vHanda wrote:You can search by all the attributes present in the file - artist, album, etc. Here is the full list if you are interested - https://projects.kde.org/projects/kde/k ... operties.h

What do mean by adding custom attributes?

In Dolphin, by default, to Images I can add only rating, tags and comment.
And I'm not see easy way to add another attributes like Artist, Title, Author, Copyright, etc.
So, how I can do it?
User avatar
vHanda
KDE Developer
Posts
84
Karma
0
OS
Yukariin wrote:
vHanda wrote:You can search by all the attributes present in the file - artist, album, etc. Here is the full list if you are interested - https://projects.kde.org/projects/kde/k ... operties.h

What do mean by adding custom attributes?

In Dolphin, by default, to Images I can add only rating, tags and comment.
And I'm not see easy way to add another attributes like Artist, Title, Author, Copyright, etc.
So, how I can do it?


Ah. That's never been implemented. I'm not even sure how you would store the properties you mention in an image file. Maybe you can look at some exif metadata editor?

We have no plans of adding capabilities that you mentioned. Of course, some else could come and implement it, there just aren't any plans from my side.
Yukariin
Registered Member
Posts
6
Karma
0
vHanda wrote:Ah. That's never been implemented. I'm not even sure how you would store the properties you mention in an image file. Maybe you can look at some exif metadata editor?

We have no plans of adding capabilities that you mentioned. Of course, some else could come and implement it, there just aren't any plans from my side.

No, exif, AFAIK, presented only in jpeg files. And I can't add data to gif, png and other files.
For example I have a boocks collection/documents and I want add some data, like Author, Copyright, etc for easy managment and search. I think it's VERY useful and sad that you not support it and even not planning support.
Thanks.
molecule-eye
Registered Member
Posts
402
Karma
0
OS
vHanda wrote:* Ratings - These can be searched from the advanced find menu of Dolphin. Press Ctrl + F, and then choose "More Opitons"
* Tags - You can search for tags, by clicking on the tag or by using the tags protocol "tags://"
* Comments - No really possible right now.

With Baloo 5.1, more advanced search capabilities were introduced such that you can do complex searches of any kind. Eg - "rating < 2 OR (tag:Dolphin AND userComment:fire)". However, the current released version of Dolphin is still using Qt4. So, you'll have to wait for about 4 months until the next KDE Applications Release where a KF5 based version of Dolphin will be released.


The KF5 port is already available, I see. How have things progressed with Dolphin? Is searching by tags, etc. easy to do from the GUI (e.g. from "More Options")? Or does one still need to search the internet for stuff like searching by tags and advanced search options? Would be nice if this were right in the GUI or else there was a help button explaining it, perhaps via a tooltip.
kde-deshmukh
Registered Member
Posts
184
Karma
0
vHanda wrote:With Baloo 5.1, more advanced search capabilities were introduced such that you can do complex searches of any kind. Eg - "rating < 2 OR (tag:Dolphin AND userComment:fire)". However, the current released version of Dolphin is still using Qt4. So, you'll have to wait for about 4 months until the next KDE Applications Release where a KF5 based version of Dolphin will be released.


I am not able to do these kind of complex searches in latest Dolphin 17.04.1.

Am I making a syntactic mistake? I was entering userComment:xyz in the location bar and also tried entering it in the search field. Locationbar produces an error. Search field does not return any results.


--
Manjaro KDE. Kernel 4.19.244-1-MANJARO. 64-bit. Plasma 5.24.5. KDE Frameworks 5.94.0. Qt 5.15.4. 8GB RAM and more than 100GB free on the hard disk.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]