code: function keyIndexing(selector, maxLen, index) {
    var opts = resolverOpts(RESOLVE_MODE.KEY, maxLen, index);
    return resolveSelector(selector, opts);
  }
docs: Perform key lookup indexing 'index' should be an AbstractIndex implementation