---
title: "SpotlightSearchTool.GuidanceLevel.dynamic(_:)"
framework: corespotlight
role: symbol
role_heading: Case
path: "corespotlight/spotlightsearchtool/guidancelevel/dynamic(_:)"
---

# SpotlightSearchTool.GuidanceLevel.dynamic(_:)

An option to search using only the specified techniques.

## Declaration

```swift
case dynamic(SpotlightSearchTool.GuidanceProfile)
```

## Mentioned in

Making your indexed content available to Foundation Models

## Discussion

Discussion Choose this option to specify the subset of search techniques to use on your content. The SpotlightSearchTool.GuidanceProfile structure you specify contains properties with the available search techniques. Enable the ones that apply to your app’s content and disable any that don’t apply. For example, if you want to perform only literal searches on strings, enable the textMatch property and disable the similarityMatch property.

## See Also

### Getting the guidance levels

- [SpotlightSearchTool.GuidanceLevel.complete](corespotlight/spotlightsearchtool/guidancelevel/complete.md)
- [SpotlightSearchTool.GuidanceLevel.focused(_:)](corespotlight/spotlightsearchtool/guidancelevel/focused(_:).md)
