For setup, we've been dealing with spotlight issues for 4 years on two MacBooks with my wife's files. We've done all the usual tricks (for example spotlight privacy tab, sudo mdutil -E / ) and they work for a day or a few days but then the problem returns. I've searched a lot and compiled a ton of links on spotlight (and tricks).
Spotlight eventually forgets the docx files it indexed. One day a keyword yields 100s of docx results and the next day it yields a couple to none. The MacOS version is 10.13.6.
My current fix is to find all the docx files and force each one to be re-indexed.
find /Users/username -name '*.docx' -print0 | xargs -0 mdimport -d1
This command has it re-index them using the Rich Text importer. Again this works for the day and by the next day searches produce little to no results.
Has anyone encountered this problem? And found a solution?