<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreSpotlight",
  "identifier" : "/documentation/CoreSpotlight/SpotlightSearchTool/GuidanceLevel/dynamic(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Core Spotlight",
      "FoundationModels"
    ],
    "preciseIdentifier" : "s:31_CoreSpotlight_FoundationModels0B10SearchToolV13GuidanceLevelO7dynamicyAeC0G7ProfileVcAEmF"
  },
  "title" : "SpotlightSearchTool.GuidanceLevel.dynamic(_:)"
}
-->

# SpotlightSearchTool.GuidanceLevel.dynamic(_:)

An option to search using only the specified techniques.

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

## Discussion

Choose this option to specify the subset of search techniques to use on your content. The
[`SpotlightSearchTool.GuidanceProfile`](/documentation/CoreSpotlight/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`](/documentation/CoreSpotlight/SpotlightSearchTool/GuidanceProfile/textMatch) property and disable the
[`similarityMatch`](/documentation/CoreSpotlight/SpotlightSearchTool/GuidanceProfile/similarityMatch) property.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)