Browse Source

Revert defaults.json change

pull/291/head
Diana Shkolnikov 9 years ago
parent
commit
62315a1775
  1. 2
      query/defaults.js
  2. 2
      test/unit/fixture/autocomplete_linguistic_focus.js
  3. 2
      test/unit/fixture/autocomplete_linguistic_focus_null_island.js
  4. 2
      test/unit/fixture/search_linguistic_focus.js
  5. 2
      test/unit/fixture/search_linguistic_focus_bbox.js
  6. 2
      test/unit/fixture/search_linguistic_focus_null_island.js

2
query/defaults.js

@ -31,7 +31,7 @@ module.exports = extend( false, peliasQuery.defaults, {
'focus:function': 'linear', 'focus:function': 'linear',
'focus:offset': '1km', 'focus:offset': '1km',
'focus:scale': '100km', 'focus:scale': '50km',
'focus:decay': 0.5, 'focus:decay': 0.5,
'function_score:score_mode': 'avg', 'function_score:score_mode': 'avg',

2
test/unit/fixture/autocomplete_linguistic_focus.js

@ -44,7 +44,7 @@ module.exports = {
'lon': -82.50622 'lon': -82.50622
}, },
'offset': '1km', 'offset': '1km',
'scale': '100km', 'scale': '50km',
'decay': 0.5 'decay': 0.5
} }
} }

2
test/unit/fixture/autocomplete_linguistic_focus_null_island.js

@ -44,7 +44,7 @@ module.exports = {
'lon': 0 'lon': 0
}, },
'offset': '1km', 'offset': '1km',
'scale': '100km', 'scale': '50km',
'decay': 0.5 'decay': 0.5
} }
} }

2
test/unit/fixture/search_linguistic_focus.js

@ -44,7 +44,7 @@ module.exports = {
'lon': -82.50622 'lon': -82.50622
}, },
'offset': '1km', 'offset': '1km',
'scale': '100km', 'scale': '50km',
'decay': 0.5 'decay': 0.5
} }
} }

2
test/unit/fixture/search_linguistic_focus_bbox.js

@ -44,7 +44,7 @@ module.exports = {
'lon': -82.50622 'lon': -82.50622
}, },
'offset': '1km', 'offset': '1km',
'scale': '100km', 'scale': '50km',
'decay': 0.5 'decay': 0.5
} }
} }

2
test/unit/fixture/search_linguistic_focus_null_island.js

@ -44,7 +44,7 @@ module.exports = {
'lon': 0 'lon': 0
}, },
'offset': '1km', 'offset': '1km',
'scale': '100km', 'scale': '50km',
'decay': 0.5 'decay': 0.5
} }
} }

Loading…
Cancel
Save