Browse Source

updated query module to branch from hashcode

fixed tests to use `boost_mode` value of `multiply` instead of `replace`
pull/666/head
Stephen Hess 8 years ago
parent
commit
8339a66e91
  1. 2
      package.json
  2. 2
      test/unit/fixture/search_boundary_country.js
  3. 2
      test/unit/fixture/search_fallback.js
  4. 2
      test/unit/fixture/search_geodisambiguation.js
  5. 4
      test/unit/fixture/search_linguistic_bbox.js
  6. 4
      test/unit/fixture/search_linguistic_focus.js
  7. 4
      test/unit/fixture/search_linguistic_focus_bbox.js
  8. 4
      test/unit/fixture/search_linguistic_focus_null_island.js
  9. 4
      test/unit/fixture/search_linguistic_only.js
  10. 4
      test/unit/fixture/search_linguistic_viewport.js
  11. 4
      test/unit/fixture/search_linguistic_viewport_min_diagonal.js
  12. 4
      test/unit/fixture/search_with_category_filtering.js
  13. 4
      test/unit/fixture/search_with_source_filtering.js

2
package.json

@ -55,7 +55,7 @@
"pelias-config": "2.1.0",
"pelias-logger": "0.0.8",
"pelias-model": "4.2.0",
"pelias-query": "pelias/query#f890a72",
"pelias-query": "pelias/query#reorganize-queries-for-scoring",
"pelias-text-analyzer": "1.3.0",
"stats-lite": "2.0.3",
"through2": "2.0.1"

2
test/unit/fixture/search_boundary_country.js

@ -51,7 +51,7 @@ module.exports = {
}
],
'score_mode': 'avg',
'boost_mode': 'replace'
'boost_mode': 'multiply'
}
},
'size': 10,

2
test/unit/fixture/search_fallback.js

@ -517,7 +517,7 @@ module.exports = {
}
],
'score_mode': 'avg',
'boost_mode': 'replace'
'boost_mode': 'multiply'
}
},
'size': 20,

2
test/unit/fixture/search_geodisambiguation.js

@ -246,7 +246,7 @@ module.exports = {
}
],
'score_mode': 'avg',
'boost_mode': 'replace'
'boost_mode': 'multiply'
}
},
'size': 20,

4
test/unit/fixture/search_linguistic_bbox.js

@ -54,9 +54,9 @@ module.exports = {
}
],
'score_mode': 'avg',
'boost_mode': 'replace'
'boost_mode': 'multiply'
}
},
'size': 10,
'track_scores': true
};
};

4
test/unit/fixture/search_linguistic_focus.js

@ -57,9 +57,9 @@ module.exports = {
}
],
'score_mode': 'avg',
'boost_mode': 'replace'
'boost_mode': 'multiply'
}
},
'size': 10,
'track_scores': true
};
};

4
test/unit/fixture/search_linguistic_focus_bbox.js

@ -68,9 +68,9 @@ module.exports = {
}
],
'score_mode': 'avg',
'boost_mode': 'replace'
'boost_mode': 'multiply'
}
},
'size': 10,
'track_scores': true
};
};

4
test/unit/fixture/search_linguistic_focus_null_island.js

@ -57,9 +57,9 @@ module.exports = {
}
],
'score_mode': 'avg',
'boost_mode': 'replace'
'boost_mode': 'multiply'
}
},
'size': 10,
'track_scores': true
};
};

4
test/unit/fixture/search_linguistic_only.js

@ -43,9 +43,9 @@ module.exports = {
}
],
'score_mode': 'avg',
'boost_mode': 'replace'
'boost_mode': 'multiply'
}
},
'size': 10,
'track_scores': true
};
};

4
test/unit/fixture/search_linguistic_viewport.js

@ -43,9 +43,9 @@ module.exports = {
}
],
'score_mode': 'avg',
'boost_mode': 'replace'
'boost_mode': 'multiply'
}
},
'size': 10,
'track_scores': true
};
};

4
test/unit/fixture/search_linguistic_viewport_min_diagonal.js

@ -43,9 +43,9 @@ module.exports = {
}
],
'score_mode': 'avg',
'boost_mode': 'replace'
'boost_mode': 'multiply'
}
},
'size': 10,
'track_scores': true
};
};

4
test/unit/fixture/search_with_category_filtering.js

@ -44,9 +44,9 @@ module.exports = {
}
],
'score_mode': 'avg',
'boost_mode': 'replace'
'boost_mode': 'multiply'
}
},
'size': 20,
'track_scores': true
};
};

4
test/unit/fixture/search_with_source_filtering.js

@ -43,9 +43,9 @@ module.exports = {
}
],
'score_mode': 'avg',
'boost_mode': 'replace'
'boost_mode': 'multiply'
}
},
'size': 20,
'track_scores': true
};
};

Loading…
Cancel
Save