Yes, if you still want to index using the operating system and still keep it private, the safest thing would probably be to encrypt your entire system drive, which may not always be practical.
You could possibly also run a secondary OS on a Virtual Machine placed on an encrypted drive, add the...