Thursday, May 9, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 1592  / 2 Years ago, mon, april 4, 2022, 4:28:56

I've noticed that the search indexes only those files which have previously been opened with some application.



For example, searching for a presentation returns 0 results initially, but once I navigate to the file in Nautilus, and open it with LO - it becomes, along with the folder hierarchy it is in.



I've tested this primarily with files on another partition (where my home folder is) and on another disk (where most of my documents are).



Why is this so? Is it a bug or an intentionally missing feature? (Windows 7 finds all files whether they've been opened or not.)


More From » unity

 Answers
4

The reason search isn't working in this case is because /media is blacklisted in /etc/updatedb.conf. The solution is to mount the partition on /mnt and ran sudo /etc/cron.daily/mlocate.



Search uses multiple search engines. Zeitgeist indexes the recently used documents, which is why some files from the partition are showing, and some aren't. But other search engines (mlocate) and os-walk (previously 'find') are problematic.



If your drives are NTFS, they aren't blacklisted, but are probably mounted in /media, which is why they aren't being indexed.


[#22796] Tuesday, April 5, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
nstitutencert

Total Points: 171
Total Questions: 126
Total Answers: 124

Location: Azerbaijan
Member since Fri, May 12, 2023
1 Year ago
nstitutencert questions
Fri, Dec 10, 21, 16:31, 2 Years ago
Tue, Apr 19, 22, 05:51, 2 Years ago
Wed, Jan 26, 22, 07:52, 2 Years ago
Sun, Aug 29, 21, 21:43, 3 Years ago
;