Are macOS Spotlight privacy settings shared between parallel installs?
Adding a volume to Spotlight’s Privacy tab adds a ‘no index’ file to the root of the volume. This file will then exist for the other OS to read and be applied.

It’s not possible for one OS to index a volume and another not since the index is stored in a hidden Spotlight folder in the root of the volume, not unique to an OS.