Possible to resume indexing from where it previously left off?

General discussion related to "Everything".
Post Reply
Borgholio
Posts: 2
Joined: Tue Aug 31, 2021 6:09 pm

Possible to resume indexing from where it previously left off?

Post by Borgholio »

Where I work, all the documentation, utilities, software, and files that we need to use on a regular basis are stored on a single shared hard drive which is accessible via VPN. Unfortunately, ,there is little to no organization on this drive. It's like the files were dumped there by a chimpanzee with ADD. So Everything is a godsend when I need to search for a file I need.

The trouble is, the company VPN only allows connections for 12 hours at a time before we are disconnected and required to log in again. Believe it or not, 12 hours is not enough time to fully index the shared drive. I currently have to split up my indexing schedule over several days by doing a few folders at a time. It would be much more convenient if I didn't have to do that.

Currently, when the network connection over the VPN is lost, Everything stop indexing and saves results to the database. If this happens in the middle of indexing a folder, Everything has to start over once the network connection is restored. For large folders, this can mean indexing may never fully complete. I am wondering, is there a way to get Everything to resume indexing from where it left off when the network is disconnected instead of starting over from the beginning of the folder? Or alternatively, is there a way to pause the indexing so I can manually resume it once the VPN comes back up?

Thanks!
void
Developer
Posts: 16773
Joined: Fri Oct 16, 2009 11:31 pm

Re: Possible to resume indexing from where it previously left off?

Post by void »

To improve indexing performance, please ensure monitor_thread_mode_background is disabled:
  • In Everything, type in the following search and press ENTER:
    /monitor_thread_mode_background=0
  • If successful, you should see monitor_thread_mode_background=0 in the status bar for a few seconds.
  • Restart Everything, type in the following search and press ENTER:
    /restart
If monitor_thread_mode_background is enabled, network indexing will only occur when there is no other IO.



I will look into support to pause and resume network indexing.

For now, one way to pause Everything:
  • In Everything, type in the following and press ENTER:
    /debug
    (or press Ctrl + `)
    ---this will show the debug console.
  • Right click the debug console window caption and under the Edit menu, click Mark.
    ---This will suspend all Everything threads until you select some text in the debug console and right click.
  • Reconnect your VPN
  • Right click anywhere in the debug console.
    ---Everything will resume
To close the debug console:
  • In Everything, type in the following and press ENTER:
    /debug
    (or press Ctrl + ` in Everything)
Note: Pressing the close button on the debug console window will terminate Everything.
Post Reply