4 ms·
Does anyone know how everything work? Does it hook into the NTFS filesystem with special apis? The indexing is insanely fast. I wonder how they make it happen.
by nojvek 10y ago
Does anyone know how everything work? Does it hook into the NTFS filesystem with special apis? The indexing is insanely fast. I wonder how they make it happen.
- boduh 10y agoIt reads the NTFS Master File Table (MFT) which contains records for all files and folders. It only does this the first time it runs (or when you manually tell it to rebuild the index). It also uses the NTFS USN journal [1] in order to update changes to its index so that it doesn't need to read the MFT and rebuild the index every time it runs. [1] https://msdn.microsoft.com/en-us/library/windows/desktop/aa363798%28v=vs.85%29.aspx https://msdn.microsoft.com/en-us/library/windows/desktop/aa3...
- lucb1e 10y agoIt's actually really ironic that it's so much faster than Windows' own search.