Hi anonymous user ,
To find the index location:
$essi = Get-SPEnterpriseSearchServiceInstance
$cc = $essi.Components | ? { $_.GetType().Name -eq 'CrawlComponent' }
$cc.IndexLocation
Regarding the temp file location, usually we use Office to open SharePoint files, SharePoint would download a temp file in the local profile on machine. Theoretically, Office will delete all of its temporary files when we exit the program. However, these temporary files might be left if Word hangs, if we exit the program abnormally.
References:
What is the search Index file location
Regarding SharePoint File Temporary files
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.