code: function(queryRunner, options) {
      options = options || {};
      this.queryParser = new QueryParser(options.paramValueRegEx);
      var indexNameBuilder = options.indexNameBuilder || new DefaultIndexNameBuilder();
      this.queryBuilder = new EsQueryBuilder(indexNameBuilder, {
          defaults: options.queryDefaults
      });
      this.queryRunner = queryRunner;
  }
docs: Small facade over lower level types. Provides a smaller API for users