After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 453268 - Allow substring search for filenames
Allow substring search for filenames
Status: RESOLVED DUPLICATE of bug 397355
Product: tracker
Classification: Core
Component: General
unspecified
Other All
: Normal major
: ---
Assigned To: Jamie McCracken
Jamie McCracken
: 487272 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-07-03 00:44 UTC by Harald Judt
Modified: 2008-12-30 10:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Harald Judt 2007-07-03 00:44:36 UTC
Currently, tracker-search does not allow searching for substrings in filenames.

Imagine you have two files: hawaii_sunset1.jpg and hawaii_sunset2.jpg.

Example 1: Issuing the command `tracker-search hawai' should actually list both files, since they contain the string hawai. It doesn't. `tracker-search hawaii' does return both files. This might not look so bad, but it gets worse when you have a file like hawaii1357.jpg. You would have to search for `hawaii1357' because searching for `hawaii' would yield nothing.

Example 2: Similar to the example above, issuing the command `tracker-search sunset' does return 0 results. You would expect tracker to show you both files since they contain the string `sunset' (and that is what a user would remember, not the numbers).

Splitting word for word might work for file contents, but it's not the ideal way for searching by filename. It would be great if tracker-search could deal with filenames in a better way.


Other information:
using tracker-0.5.4-r1
Comment 1 Harald Judt 2007-07-29 22:55:14 UTC
While tracker-0.6.0 shows improvements (e.g. finally finding files which paths contain spaces), this very annoying bug is still present, so I took the liberty to raise this bug's severity. As long as I have to resort to other tools like find and locate to search for files, tracker can only serve as a complementary product.
Comment 2 Jamie McCracken 2007-07-29 23:22:11 UTC
This feature is coming soon - prelimnary support for wildcards has been added but its not fully functional yet
Comment 3 Martin Zidek 2007-12-15 18:24:31 UTC
any milestone for this feature ?
Comment 4 Benjamín Valero Espinosa 2008-04-03 12:46:24 UTC
I think this feature is very important for the filenames, and not so for contents. Anyway, I hope I can see this soon.
Comment 5 Ivan Frade 2008-10-29 13:35:01 UTC
*** Bug 487272 has been marked as a duplicate of this bug. ***
Comment 6 Tomáš Hnyk 2008-11-20 21:01:23 UTC
I believe this has been fixed - at least in Ubuntu Intrepid Ibex (8.10) it is working for me.
Comment 7 Ivan Frade 2008-12-30 10:44:07 UTC

*** This bug has been marked as a duplicate of 397355 ***