<!--
{
  "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/GuidanceProfile/init(textMatch:similarityMatch:numericMatch:dates:people:contentType:attributes:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Core Spotlight",
      "FoundationModels"
    ],
    "preciseIdentifier" : "s:31_CoreSpotlight_FoundationModels0B10SearchToolV15GuidanceProfileV9textMatch010similarityJ007numericJ05dates6people11contentType10attributesAESbSg_A5MSay0aB023SearchableItemAttributeVGSgtcfc"
  },
  "title" : "init(textMatch:similarityMatch:numericMatch:dates:people:contentType:attributes:)"
}
-->

# init(textMatch:similarityMatch:numericMatch:dates:people:contentType:attributes:)

```
init(textMatch: Bool? = nil, similarityMatch: Bool? = nil, numericMatch: Bool? = nil, dates: Bool? = nil, people: Bool? = nil, contentType: Bool? = nil, attributes: [SearchableItemAttribute]? = nil)
```

---

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)