Browse Source

increase autocomplete 'phrase:slop' setting from 2->3

pull/489/head
missinglink 9 years ago
parent
commit
3a789b4a93
  1. 2
      query/autocomplete_defaults.js
  2. 2
      test/unit/fixture/autocomplete_linguistic_multiple_tokens.js
  3. 2
      test/unit/fixture/autocomplete_linguistic_with_admin.js

2
query/autocomplete_defaults.js

@ -27,7 +27,7 @@ module.exports = _.merge({}, peliasQuery.defaults, {
'phrase:analyzer': 'peliasPhrase',
'phrase:field': 'phrase.default',
'phrase:boost': 1,
'phrase:slop': 2,
'phrase:slop': 3,
'focus:function': 'linear',
'focus:offset': '0km',

2
test/unit/fixture/autocomplete_linguistic_multiple_tokens.js

@ -10,7 +10,7 @@ module.exports = {
'analyzer': 'peliasPhrase',
'type': 'phrase',
'boost': 1,
'slop': 2,
'slop': 3,
'query': 'one two'
}
}

2
test/unit/fixture/autocomplete_linguistic_with_admin.js

@ -11,7 +11,7 @@ module.exports = {
'analyzer': 'peliasPhrase',
'type': 'phrase',
'boost': 1,
'slop': 2,
'slop': 3,
'query': 'one two'
}
}

Loading…
Cancel
Save