Joomla 6.2.1 Security Update: 58 Fixes, and What It Means for Joomla 5 Sites PHP 8.6 Is Out: New Features With Examples, and When Joomla Will Use Them Next File Manager 6.1.0: share links, Trash, a phone app and a Health check Next Exams 6.3.0: exam parts, scaled scores, listening and speaking tests Next Restaurant 6.1.0: move your data in, run payroll, and connect other systems
NextSoftware

Search

Finding a file when you know its name but not where it lives.

Search results listing matches from across a folder tree

Next File Manager has two search boxes. Both match on file and folder names, and both start searching on their own once you have typed two characters — there is no button to press.

Search in all places

The search box in the header, marked Search in all places, looks through every place you can reach at once.

  • Press Ctrl+K (Cmd+K on a Mac) to jump to it from anywhere.
  • The best matches appear in a list under the box. Pick one and Next File Manager opens its folder in Files, with the item selected.
  • Press Enter, or choose See all results, for the full list in Files.

Use it when you do not know which place a file is in.

Search in this place

On the Files screen, the box above the file list — Search in this place… — searches only the place you are browsing.

It covers the whole place, not just the folder you are standing in. It walks every folder from the place's root downwards, so a match three levels away from your current folder is still found.

Results replace the file list under the heading Search results. A chip next to the heading shows the scope: click This place to switch to All places, and back. Press Esc in the box to clear it and return to the folder you were browsing.

Results

Each result shows its Location — the place name and the path within it — so you can tell two similarly-named files apart. Acting on a result — open, preview, download, or reveal it in its containing folder — works the same as acting on an item in a normal listing.

When you search all places and one of them cannot be reached (a remote server that is down, say), the others are still searched. A notice names the places that were left out.

On a phone, search has its own full-screen page with type filters. See Phone app.

The search skip list

Some folders hold tens of thousands of files that nobody ever searches for: code libraries, caches, logs. Walking through them is most of the time a search takes on a full Joomla site.

So search does not look inside these folders by default:

node_modules, vendor, bower_components, __pycache__, cache, tmp, logs

  • The names match folders at any depth, ignoring upper and lower case.
  • A skipped folder can still turn up as a result itself. Only its contents are left out.
  • Browsing is not affected. You can still open these folders and work in them as usual.
  • Folders whose name starts with a dot, such as .git, are always skipped.

Leaving these folders out makes searching a whole site several times faster.

Changing the list

Configuration → Settings → Search, field Skip these folders when searching. Type a folder name and press Enter to add it; remove one with its ×. Enter folder names only, not paths. Restore defaults puts the original list back. Click Save to apply.

If a file you are looking for lives inside one of these folders, remove that name from the list, or browse to the folder instead.

Scope

Search never sees more than you do.

The recursion is bounded by the roots your profile grants. A user granted site / images/clients/acme searching from their top level searches that subtree and stops — there is no query that walks up out of it, because the path resolution that gates every other operation gates this one too.

So the bound on what search can reach is the profile's roots, and nothing else narrows it — navigating into a subfolder first does not.

It is a separate permission

search is one of the seventeen grantable commands, independent of info and preview. Withholding it is meaningful: a user who can browse a folder they were given, but cannot search it, cannot cheaply enumerate a large tree looking for something interesting.

That is worth doing on wide grants and pointless on narrow ones — someone granted a single upload folder can see everything in it by scrolling anyway.

Search versus filters

Two different tools that are easy to confuse:

Search Filters
Scope The whole place, or all places The current folder only
Matches on Name Kind, extension, size range, modified date range
Runs On the server In the browser, on the already-loaded listing
Permission Needs search granted Always available

Use filters to narrow a folder you are looking at — "just the PDFs", "anything over 10 MB", "changed this week". Use search when you do not know which folder the file is in.

See File browser for the filter reference.

Practical notes

  • A big place takes real time. The walk is exhaustive, so it scales with the number of files in the place, not with how close you are standing to the match. The skip list keeps the largest folders out of it; add any other large folder you never search in.
  • Remote drives are slower still, because each folder is a network round trip. Remote walks are deliberately bounded rather than allowed to run forever, so a very large remote drive may report its results as truncated.
  • Results are capped. A search returns at most 200 matches and tells you when it has truncated. Narrow the term rather than paging.
  • Scoping is done with places and roots. Because search always starts at the place root, the way to keep a user's search narrow is a place or a profile root that points deeper. See Places.
  • Search can be switched off for everyone in Configuration → Apps. The header search box and the Search tab in Settings then disappear.

All Extensions