Browse Source

switch back to using standard analyzer for ngrams must condition

pull/378/head
Peter Johnson 9 years ago
parent
commit
3236d97d4a
  1. 2
      query/autocomplete.js

2
query/autocomplete.js

@ -25,7 +25,7 @@ var ngrams_last_only = function( vs ){
vs2.var('input:name').set( name.substr( name.lastIndexOf(' ')+1 ) );
var view = ngrams( vs2 );
view.match['name.default'].analyzer = 'peliasOneEdgeGram';
view.match['name.default'].analyzer = 'standard';
return view;
};

Loading…
Cancel
Save