Browse Source

refactor pop_subquery to be config driven

pull/529/head
missinglink 9 years ago
parent
commit
b862fc8833
  1. 2
      query/view/pop_subquery.js

2
query/view/pop_subquery.js

@ -9,7 +9,7 @@ module.exports = function( vs ){
var view = peliasQuery.view.ngrams( vs );
view.match['name.default'].analyzer = 'peliasQueryFullToken';
view.match['name.default'].analyzer = vs.var('phrase:analyzer');
delete view.match['name.default'].boost;
return view;

Loading…
Cancel
Save