<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreSpotlight",
  "identifier" : "/documentation/CoreSpotlight/CSSearchableItem/isUpdate",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Spotlight"
    ],
    "preciseIdentifier" : "c:objc(cs)CSSearchableItem(py)isUpdate"
  },
  "title" : "isUpdate"
}
-->

# isUpdate

A Boolean value that indicates whether to treat the item as an
update instead of a new item.

```
var isUpdate: Bool { get set }
```

## Discussion

Set the value of this property to `true` if the item represents an
update to information already in the index. Marking an item as an
update makes the indexing process more efficient. If this property
is `false` and the system encounters an item with the same identifier
in the index, it deletes the old item and then inserts the new one.
When the property is `true`, it updates the existing item, which saves
time. If this property is `true` and the item doesn’t exist in the
index, the system ignores the request to index the item and doesn’t create a new item.

When configuring the attributes for the item, set an attribute to `nil`
to remove its value.

---

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)