Xsan: How to set Spotlight search levels
You can change how Spotlight searches work with your Xsan.
Xsan supports two different levels of Spotlight searches:
- ReadWrite - Searches use a full index of file system attributes and metadata from file contents. The index is kept updated as file system content changes. This is the default search level when Spotlight is enabled on Xsan volumes in Xsan 2.2 and later.
- FsSearch - Searches against file system attributes are enabled, but no indexed searching of content is performed. This option requires metadata controllers using Mac OS X v10.6 or later and Xsan 2.2 or later.
To configure an Xsan volume to use the FsSearch search level:
- Locate the Xsan volume's configuration file on the metadata controllers.
- Using these guidelines, edit the volume configuration file's global section so that it contains these two lines:
EnableSpotlight Yes SpotlightSearchLevel FsSearch
- Repeat the configuration file changes on all other metadata controllers that control the volume.
- Restart the volume.
If you want to revert to the default indexed search level (ReadWrite), repeat the steps listed above but change the SpotlightSearchLevel entry to:
Depending on how much data is on the volume, enabling the index may require several hours while the index is built.