lib/query/es/esQuery.js
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;
}
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;
}
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 ; }
Small facade over lower level types. Provides a smaller API for users
Small facade over lower level types . Provides a smaller API for users