SpotlightSearchTool.GuidanceProfile
Options for which techniques to use to determine a match.
Declaration
struct GuidanceProfileOverview
When you configure the SpotlightSearchTool with the SpotlightSearchTool.GuidanceLevel.dynamic(_:) guidance option, you provide an instance of this structure. Configure the structure with the search techniques you want to allow or disallow, and might do so to prevent searches using techniques that don’t apply to your content. If you don’t specify a value for a property, the tool doesn’t use that search option.
In addition to specifying what types of searches to perform, you can also specify which of your content’s attributes to consider when looking for matches. The default behavior searches all of the attributes present for your content, but you can specify a custom set of attributes if you want the tool to ignore certain values.