Browse Source

population twice as important as popularity

pull/338/head
Peter Johnson 9 years ago
parent
commit
481a65a4f9
  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/autocomplete_linguistic_only.js
  5. 2
      test/unit/fixture/search_boundary_country.js
  6. 2
      test/unit/fixture/search_full_address.js
  7. 2
      test/unit/fixture/search_linguistic_bbox.js
  8. 2
      test/unit/fixture/search_linguistic_focus.js
  9. 2
      test/unit/fixture/search_linguistic_focus_bbox.js
  10. 2
      test/unit/fixture/search_linguistic_focus_null_island.js
  11. 2
      test/unit/fixture/search_linguistic_only.js
  12. 2
      test/unit/fixture/search_partial_address.js
  13. 2
      test/unit/fixture/search_regions_address.js

2
query/defaults.js

@ -89,6 +89,6 @@ module.exports = extend( false, peliasQuery.defaults, {
'population:field': 'population',
'population:modifier': 'sqrt',
'population:max_boost': 2000,
'population:weight': 1
'population:weight': 2
});

2
test/unit/fixture/autocomplete_linguistic_focus.js

@ -105,7 +105,7 @@ module.exports = {
'modifier': 'sqrt',
'field': 'population'
},
'weight': 1
'weight': 2
}]
}
}]

2
test/unit/fixture/autocomplete_linguistic_focus_null_island.js

@ -105,7 +105,7 @@ module.exports = {
'modifier': 'sqrt',
'field': 'population'
},
'weight': 1
'weight': 2
}]
}
}]

2
test/unit/fixture/autocomplete_linguistic_only.js

@ -78,7 +78,7 @@ module.exports = {
'modifier': 'sqrt',
'field': 'population'
},
'weight': 1
'weight': 2
}]
}
}]

2
test/unit/fixture/search_boundary_country.js

@ -88,7 +88,7 @@ module.exports = {
'modifier': 'sqrt',
'field': 'population'
},
'weight': 1
'weight': 2
}]
}
}]

2
test/unit/fixture/search_full_address.js

@ -82,7 +82,7 @@ module.exports = {
'modifier': 'sqrt',
'field': 'population'
},
'weight': 1
'weight': 2
}]
}
},{

2
test/unit/fixture/search_linguistic_bbox.js

@ -78,7 +78,7 @@ module.exports = {
'modifier': 'sqrt',
'field': 'population'
},
'weight': 1
'weight': 2
}]
}
}]

2
test/unit/fixture/search_linguistic_focus.js

@ -107,7 +107,7 @@ module.exports = {
'modifier': 'sqrt',
'field': 'population'
},
'weight': 1
'weight': 2
}]
}
}]

2
test/unit/fixture/search_linguistic_focus_bbox.js

@ -107,7 +107,7 @@ module.exports = {
'modifier': 'sqrt',
'field': 'population'
},
'weight': 1
'weight': 2
}]
}
}]

2
test/unit/fixture/search_linguistic_focus_null_island.js

@ -107,7 +107,7 @@ module.exports = {
'modifier': 'sqrt',
'field': 'population'
},
'weight': 1
'weight': 2
}]
}
}]

2
test/unit/fixture/search_linguistic_only.js

@ -78,7 +78,7 @@ module.exports = {
'modifier': 'sqrt',
'field': 'population'
},
'weight': 1
'weight': 2
}]
}
}]

2
test/unit/fixture/search_partial_address.js

@ -81,7 +81,7 @@ module.exports = {
'modifier': 'sqrt',
'field': 'population'
},
'weight': 1
'weight': 2
}]
}
},{

2
test/unit/fixture/search_regions_address.js

@ -81,7 +81,7 @@ module.exports = {
'modifier': 'sqrt',
'field': 'population'
},
'weight': 1
'weight': 2
}]
}
},{

Loading…
Cancel
Save