SDK functions to alter the index

Plug-in and third party software discussion.
Post Reply
hicla
Posts: 3
Joined: Mon Dec 04, 2017 7:55 pm

SDK functions to alter the index

Post by hicla »

We have an external NAS that publishes a couple of SMB shares through the network.
We'd love to use Everything to quickly find files, but whenever a large quantity of files gets moved/deleted, Everything misses most of these changes (the "rescan on full buffer" option isn't practical in our case, since it takes several hours for the scan to complete).

Would it be possible to add some functions to the Everything SDK to allow us to modify the index?

We would then write an app that monitors the samba log on the NAS, and sends Everything what has changed in near realtime.
The events exposed by the samba log are: folder deleted, folder created, file deleted, file written, file/folder moved (or renamed).
thanks
void
Developer
Posts: 16771
Joined: Fri Oct 16, 2009 11:31 pm

Re: SDK functions to alter the index

Post by void »

Right now, the only way to do this is would be to generate a file list.

I will be looking into support for plugins in Everything 1.5 for indexing.
hicla
Posts: 3
Joined: Mon Dec 04, 2017 7:55 pm

Re: SDK functions to alter the index

Post by hicla »

thanks for pointing me to the file list feature: I've built a small program that crawls the NAS, listens to samba events to keep its index up to date, and every 30 minutes or on demand writes to disk an Everything file list. Everything monitors that file, and when it notices a change freezes for a couple of minutes while it reloads and re-sorts it, and then we can run queries again with a fresher index
Not perfect, but it will keep us going until indexing plugins are available
thank you
Post Reply