Incomplete search results (only in the search bar)

When I search for files using the GNOME search bar, I get incomplete results. When I click on “Files” next to the search results, Nautilus opens and the same incomplete results are shown. However, when I open Nautilus directly and search for the file, the file I am looking for is found immediately. The same is true for the “locate” command.

The file I am looking for is in a subfolder of /home/$USER/nextcloud and other files in some subfolders come up in the search results.

I was researching ways to reset/recreate the search index, but I could not find anything recent and/or helpful.

Any help would be much appreciated, thank you :slight_smile:

System Details Report


Report details

  • Date generated: 2025-06-19 21:38:26

Hardware Information:

  • Hardware Model: Dell Inc. XPS 13 9370
  • Memory: 16.0 GiB
  • Processor: Intel® Core™ i7-8550U × 8
  • Graphics: Intel® UHD Graphics 620 (KBL GT2)
  • Disk Capacity: 512.1 GB

Software Information:

  • Firmware Version: 1.21.0
  • OS Name: Fedora Linux 42 (Workstation Edition)
  • OS Build: (null)
  • OS Type: 64-bit
  • GNOME Version: 48
  • Windowing System: Wayland
  • Kernel Version: Linux 6.14.9-300.fc42.x86_64

That’s the way I would do it. Why would you want to rely on a possibly outdated search index?

File indexing via Tracker (name recently switched to TinySPARQL) only takes place for the default or user-set paths. In case you haven’t done so explicitly, the ~/nextcloud subdirectory should not be indexed.

You can add that subdirectory to the list of search paths by going to GNOME Settings → Search → Search locations → Custom locations. Wait for a while for the new location to get indexed.