diff --git a/query/search.js b/query/search.js index 7999bdbd..b0015983 100644 --- a/query/search.js +++ b/query/search.js @@ -105,7 +105,7 @@ function generate( params ){ // note: this is required for shingle/phrase matching query.query.filtered.query.bool.should.push({ 'match': { - 'phrase.default': params.input + 'phrase.default': input } });