How do I hide all folders from search results?

General discussion related to "Everything".
Post Reply
wavedash
Posts: 1
Joined: Thu Mar 24, 2022 6:07 pm

How do I hide all folders from search results?

Post by wavedash »

I'd like Everything to only index certain folders, but not show folders in any search results when using the Keypirinha package. I've successfully narrowed down searches to certain folders with the Indexes > Folders options, but I can't find a way to only show files. I have a "file:" filter set up, but it doesn't seem to affect Keypirinha searches.
raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

Re: How do I hide all folders from search results?

Post by raccoon »

What is a "Keypirinha"?
void
Developer
Posts: 16734
Joined: Fri Oct 16, 2009 11:31 pm

Re: How do I hide all folders from search results?

Post by void »

Possibly this: https://keypirinha.com/packages/everything.html

Unfortunately, Everything IPC does not support filters.
Please try removing your file: filter and including file: in your search from Keypirinha.
(file: is a built-in search modifier that will work over IPC)

I have put on my TODO list to add a custom IPC filter.
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: How do I hide all folders from search results?

Post by NotNull »

Amongst many different reasons, Everything needs the folders in the database so it can show the Path of a file.

In KeyPirinha you can do the following:
  • Right-click the KeyPirinha system tray icon
  • Choose Configure Package > Everything
  • In the USER Everything ini that is opened in the editor, add the following:

    Code: Select all

    [default_search/Search]
    pattern = %s  file:
    description = Search only files with Everything
    allow_empty_search = no
    is_regex = no
  • Save
  • Done!
Post Reply