I need assistance with Indexed Properties Include/Exclude behavior

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
santilli
Posts: 26
Joined: Tue Apr 30, 2024 7:05 am

I need assistance with Indexed Properties Include/Exclude behavior

Post by santilli »

As I understand, if a specific property is not added to the property list, it can be called on demand at any time.

Example, SHA256 is not anywhere in my properties rules. If I run "es {path} -sha256 -csv" it will be indexed on demand and cleared from memory when es is closed.

But if I set a rule to index SHA256 on selected folders, (or to not index on selected folders), those folders will be watched in real time, properties will be saved to a persistent database ready to be called at any time.

In this case if I run "es {path} -sha256 -csv" and if {path} happens to fall out of my own rules, it will not create a temporary index.

I totally understand why this behavior occurs, and I understand that this might not even be the best use case for everything or es, but I miss the ability to temporarily index a property in such cases.

I believe that it might not be easy to address this without possibly breaking it altogether, but maybe a new argument could be used like -temp-index, so that when its present in the command line, the include/exclude rules will be ignored, existing properties will be fetched from the persistent db and non-existing will be stored in ram.

i may be overthinking, apologies in advance.
void
Developer
Posts: 19839
Joined: Fri Oct 16, 2009 11:31 pm

Re: I need assistance with Indexed Properties Include/Exclude behavior

Post by void »

I will consider a -from-disk (-temp-index) command line option.

Thank you for the suggestion.



For now, enable formulas in ES and request a custom sha256 column:
  • From the Start menu, search for:
    regedit
  • Right click Registry Editor and click Run as administrator.
  • In the Registry Editor, navigate to:
    HKLM\Software\Policies\voidtools\Everything

    (Please create this key if it doesn't exist)
  • In the right pane, right click and click New -> dword value.
  • Set the value name to:
    ipc_allow_read_access
  • Set the value data to:
    1
  • Restart Everything (File -> Exit)
Search for:

Code: Select all

es -add-column a a:=getproperty($filename:,"sha256")
getproperty() will get indexed values first, then fallback to disk.
Post Reply