GNOME Bugzilla – Bug 454528
Add support for rank
Last modified: 2021-05-26 22:25:05 UTC
The shared metadata spec[1] from freedesktop.org defines a File.Rank (section Generic, type integer , writeable) described as "Editable file rank for grading favourites. Value should be in the range 1..10" If I'm right tracked supports it, but there is no way to set/get it in search tool Also a Gtk+ widget to set/get it could be interesting. [1] http://freedesktop.org/wiki/Specifications/shared-filemetadata-spec
Apple HIG section about Rating Indicator widget http://developer.apple.com/documentation/UserExperience/Conceptual/OSXHIGuidelines/XHIGControls/chapter_18_section_5.html#//apple_ref/doc/uid/TP30000359-DontLinkElementID_34
A bug against GTK+ requesting a GtkIndicatorRating widget as part of rework or GttProgress widget. http://bugs.gnome.org/319608
Can the reporter of this bug set the _version_ so we can target bugs to work on more easily please. We can also have an idea about if these bugs are likely to be obsolete too. If you don't set the version, we are less likely to look at them. Sorry for the spam, but I don't want to say this 88 times on each bug :)
We now support rank in the ontology, it is not displayed in t-s-t however.
(In reply to comment #4) > We now support rank in the ontology, it is not displayed in t-s-t however. I guess this is now applicable to tracker-needle as well, changing component.
This should be easy to add. We just need a patch in the src/tracker-needle/tracker-query.vala to add "ORDER BY ASC(fts:rank(?urn))" or something like that. We have to consider that all the current sorting uses fields which are unrelated to FTS and that if we add this we can only use it for FTS specific searches. So some additional logic needed there. But there is already something like that for the existing querying in that file.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new enhancement request ticket at https://gitlab.gnome.org/GNOME/tracker/-/issues/ Thank you for your understanding and your help.