Optimize Cortana in Searching Local files and Folders

Problem description

When I used the Cortana, the personal assistant of Windows 10, I found that it is confusing that searching
function worked badly sometimes but well sometimes. To improve my productivity, I googled this problem and
encounter a good solution.

Reference

https://www.windowscentral.com/how-add-new-cortana-search-file-locations-windows-10