       else
         db = snapshotDb
 
-      db.query this, cName, query, (err, results) =>
+      db.query this, cName, query, (err, resultset) =>
         if err
           callback err
-        else if Array.isArray results
-          callback null, results
+        else if Array.isArray resultset
+          callback null, resultset
         else
-          callback null, results.results, results.extra
+          callback null, resultset.results, resultset.extra
 
     # For mongo, the index is just the collection itself. For something like
     # SOLR, the index refers to the core we're actually querying.

          emitter.destroy = ->
            stream.destroy()

          if !Array.isArray results
            # Results is an object. It should look like {results:[..], data:....}
            emitter.extra = results.extra
            results = results.results

          emitter.data = results


            if modifies is undefined
              if poll
                # We need to do a full poll of the query, because the query uses limits or something.
                db.query client, index, query, (err, newResultset) ->
                  return emitter.emit 'error', new Error err if err

                  if !Array.isArray newResultset
                    if newResultset.extra
                      unless deepEquals extra, newResultset.extra
                        emitter.emit 'extra', newResultset.extra
                        emitter.extra = extra = newResultset.extra
                    newResults = newResultset.results

                  r.c ||= index for r in newResults

