Instance Method


Ends a batch of index updates and stores the specified state information.


- (void)endIndexBatchWithClientState:(NSData *)clientState completionHandler:(void (^)(NSError *error))completionHandler;



Up to 250 bytes of information that can help you recover from a crash and resume indexing.


The block that’s called after the client state has been stored.

The block receives the following parameter:


If an error occurred, this parameter holds an error object that explains the error. Otherwise, the value of this parameter is nil.

See Also

Batching Index Updates

- beginIndexBatch

Begins a batch of updates to an index.

- fetchLastClientStateWithCompletionHandler:

Gets the app’s most recently stored state information.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software