Xsan 2.2: How to set Spotlight search levels
Summary
With Xsan 2.2, Spotlight supports two different levels of searching: File system search and Indexed search.
- File system search (FsSearch) - Searches against file system attributes are enabled but no indexed searching of content is performed.
- Indexed search (ReadWrite) - Full file system and indexed content is enabled; the index will be updated as file system content changes.
By default, Indexed search is enabled when Spotlight is activated for an Xsan volume in Xsan 2.0 or later.
The FsSearch option requires Mac OS X v10.6 metadata controllers using Xsan 2.2.
Products Affected
Xsan 2.2
If you would like to have File system search only, with no indexing, do the following:
- Using these guidelines or with your preferred text editor, edit the volume's configuration file on all of the metadata controllers. The file is located in:
/Library/Filesystems/Xsan/config/name_of_volume.cfg
- In the "global section for defining system-wide parameters" change:
EnableSpotlight Yes
to
EnableSpotlight Yes
SpotLightSearchLevel FsSearch
- Save the file then restart the volume.
Note: If at a later time you would like to re-enable Indexed searching, on all metadata controllers edit the line to read:
SpotLightSearchLevel ReadWrite
(Save the file, then restart the volume.)
Additional Information
Depending on how much data is on the volume, enabling the index may require several hours while the index is built.
Twitter
Facebook