Files lens doesn't search all files

Bug #1249754 reported by Nicola Heald on 2013-11-10
This bug affects 5 people
Affects Status Importance Assigned to Milestone
unity (Ubuntu)

Bug Description

The files lens only returns results for certain files, and I can't see any pattern to it, here's an example:

    mikeh@bones:~/Documents$ ls screenshot*

Search using the files lens for "screenshot" and I get no results. So I figured maybe it doesn't do substring search, but searching for "deen" beings back "GamesdeEntertainment_mp4_5.png", so no idea why one file is included and the other isn't.

Stephen M. Webb (bregma) on 2013-11-10
Changed in unity-lens-files:
status: New → Triaged
importance: Undecided → Low
importance: Low → Medium
Changed in unity:
status: New → Triaged
importance: Undecided → Low
GdH (georgdh) wrote :

I suppose this bug is related to locate part of the scope. When you search for some common string, which can be found more than 128 times in your $HOME (including hidden folders - for example web browser cache could be a big source) and user accessible part of the root directory, you get nothing, if it's not already indexed by Zeitgeist. Reasonable solution could be to build per user databases which would contain only relevant data and use these instead of the global one.

GdH (georgdh) wrote :

When I said "you get nothing", it should be more like "you get only files from the first 128 entries". When I execute command locate -iec screenshot, I get number 487 but only 27 files are relevant and not all of them are in the list when loocate's output is limited to 128 entries.

Alex Baggott (alex-baggott) wrote :

I can't recreate this bug on 15.10. Is it fixed now?

Casey (casey-jao) wrote :

This bug exists on 16.04. On my system, many queries for files in my documents folder return more hits in locate than in the dash, even when the total number of locate results is well under 128.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers