<!--
{
  "availability" : [
    "iOS: 18.4.0 -",
    "iPadOS: 18.4.0 -",
    "macCatalyst: -",
    "macOS: 15.4.0 -",
    "visionOS: 2.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/IndexedEntity/hideInSpotlight",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "App Intents"
    ],
    "preciseIdentifier" : "s:10AppIntents13IndexedEntityP15hideInSpotlightSbvp"
  },
  "title" : "hideInSpotlight"
}
-->

# hideInSpotlight

A Boolean value that indicates whether Spotlight prevents the inclusion of the entity
in the index.

```
var hideInSpotlight: Bool { get }
```

## Discussion

When the value of this property is `true`, Spotlight doesn’t include the entity in search
results. The default value of this property is `false`.

---

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)