Instance Method


Asynchronously queries the index for items that match the query object’s specifications.


func start()


Call this method to start a query. Query results are delivered in serial invocations of foundItemsHandler. When the query is finished, completionHandler is called.

Calling this method more than once on the same query object raises an exception.

See Also

Starting and Canceling a Query

func cancel()

Cancels a query operation.

var isCancelled: Bool

A Boolean value that indicates if the query has been cancelled.