The search stopped working

I had this problem before with my 8 TB hard drive when I started using it for a Time machine back up as well as storage then the search stopped working. I transferred it to a 10 TB Western Digital and this time I didn’t use it for a Time machine back up and the search worked good for a year until one folder didn’t show 13 GB of videos. I used an old Mac to transfer it to the desktop and save the 13 GB of videos and put it back on my 10 TB and then I deleted the other faulty folder. Except ever since I did that my search doesn’t work and I’ve got 6 TB of videos so I need a search. I’m going to have to transfer it to another hard drive to get the search to work like I did last time. Does anybody know an easier way to get the search to work? I tried repairing the HD with the disk utility several times.