You've probably used the macOS Finder's popup contextual menu to Copy and paste files in the Finder from one location ... app, or a known, built-in file type for which macOS has a system icon ...
hit the delete button i.e. ‘X’ icon appears next to the file location. 5] Now, click the ‘Remove Folder’ button. Once these steps are completed, the Photos App will no longer index ...