 
     
     /// Search the local mirror.
-    // TODO: Should be called from regular search
     public func searchMirror(query: Query, block: CompletionHandler) {
         let callingQueue = NSOperationQueue.currentQueue() ?? NSOperationQueue.mainQueue()
         self.offlineClient.searchQueue.addOperationWithBlock() {

        assert(client is OfflineClient);
        super.init(client: client, indexName: indexName)
    }

    /// Add a data selection query to the local mirror.
    /// The query is not run immediately. It will be run during the subsequent refreshes.

        self.offlineClient.buildQueue.addOperation(buildIndexOperation)
    }
    
    // ----------------------------------------------------------------------
    // Search
    // ----------------------------------------------------------------------

    /// Search inside the index
    public override func search(query: Query, block: CompletionHandler) {
        // TODO: A lot of code duplication (with `Index`) in this method. See if we can reduce it.
