IndexOptions() and set what you want to change. Changing options later changes the index in place: a wider window or a new media type indexes what is missing, a narrower one removes what falls outside. See Index options.
Properties
Resolve venues, cuisines, neighborhoods and cities. Sends Rollup’s server the 0.01 degree cells photos were taken in. Off, indexing sends no location: photos are placed in their country and the nearest city of 15,000 people or more, from geography on the device. Turning it on or off rebuilds the index.
Look up the concert, festival or game a visit at a venue was for. Needs
places. Sends Rollup’s server the names and addresses of venues near such visits and the visits’ times. Turning it on or off rebuilds the index.Group the faces in photos into people, on the iPhone. Downloads a face model (about 13 MB) only when on. What it keeps never leaves the iPhone. Turning it on or off rebuilds the index. See Person.
Read screenshot entities with Apple’s on-device model, where Apple Intelligence is available.
Index videos saved from editing apps like TikTok, CapCut or iMovie. Off, only videos filmed on the iPhone are indexed. Videos stored only in iCloud are judged by their file name, which catches fewer.
Add new photos on library changes while your app runs, and in background processing runs.
Send Rollup’s server a report after each indexing run: timings, counts, the outcome and error codes, how many searches ran, the SDK and iOS versions and the device model. Never photos, labels, places or text. Off, no report is sent and those waiting are deleted.
The title and subtitle of the system progress UI while indexing continues in the background.
Window
The first index reaches back
from the day it is first built, and new photos keep being added. Nothing ages out.{"type":"growing","span":{"unit":"months","value":3}}.
Span
.days(_:), .weeks(_:), .months(_:) or .years(_:), or Span(_ value: Int, _ unit: Unit).
The first day of the span that ends on a given day, at its start of day, in a calendar (
.current by default).MediaType
Focus
BackgroundProgress
nil.