Search indexing in Windows - Microsoft Support
Your Windows PC is constantly tracking changes to files and updating the index with the latest information. To do this, it opens recently changed files, looks at the changes, and stores the new information in the index.