628 Commits (es6-include)

Author SHA1 Message Date
Peter Johnson 5964e57faa change ngram analyzer used in /search to peliasQueryFullToken from peliasIndexOneEdgeGram. this will have a positive effect on performance due to less tokens being produced 9 years ago
Peter Johnson d3cd14e304 disable focus for single token queries, use constant_score for ngrams matching 9 years ago
Peter Johnson 52c35cb37d allow single non-numeric chars, change boost_mode to 'replace' for function_score queries 9 years ago
missinglink 4b98b5e519 focus minimum set to 0km instead of 1km 9 years ago
missinglink cb35f37312 focus minimum set to 0km instead of 1km 9 years ago
Vesa Meskanen e22b973cdf Do not consider absence of an additional name as a difference 9 years ago
Julian Simioni c9d87f7b0c
Add a separate default distance for coarse reverse 9 years ago
Julian Simioni 16d0a8b539
Rename test to clarify layers matter 9 years ago
Julian Simioni 05baed7b51
Whitespace 9 years ago
Julian Simioni 4069c99212
Remove unused sanitiser test 9 years ago
Diana Shkolnikov 1435de906d Add source_id property 9 years ago
Julian Simioni 23ff51fd57
Add custom access_log handlers that remove user info 9 years ago
Julian Simioni 9e12c650d0
Add logging helper module 9 years ago
Peter Johnson cb67dd58d8 refactor boolean query filtering as per: https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking_20_query_dsl_changes.html#_literal_filtered_literal_query_and_literal_query_literal_filter_deprecated 9 years ago
Peter Johnson dd5215cbae upgrade to ES2+ 9 years ago
Peter Johnson 63d9329afd add additional test case 9 years ago
Peter Johnson 0caca08787 improve error matching by using string prefix matching on known elasticsearch exception names 9 years ago
Peter Johnson b15cfb3795 refactor elasticsearch error detection, improve test coverage 9 years ago
Julian Simioni 373a08e79b
Set all admin boosts to 1 9 years ago
Julian Simioni ab19a12e1c
Use multi_match query for admin fields 9 years ago
missinglink 05240626fd handle addressit case where parsed_text.street is produced and parsed_text.name is not 9 years ago
missinglink ee73774c89 add tokenizer, refactor how we determine if a token is 'complete' or 'incomplete' 9 years ago
missinglink e093a09a8d remove search related improvements from this PR 9 years ago
missinglink 0c67347c27 enable borough for search 9 years ago
missinglink da4c666538 reduce admin:borough:boost from 800->600 9 years ago
missinglink 2398f05f8d fix borough matching for both autocomplete and search endpoints 9 years ago
missinglink 01a3233a7b add a view to boost exact matches 9 years ago
missinglink 25ab63c3b3 change search analyzer to be more similar to what we had before the autocomplete_refactor milestone 9 years ago
Stephen Hess bd3b8e7bbe switched to pelias-text-analyzer package since that responsibility has been moved to there 9 years ago
Stephen Hess 9cdfce13c1 fixed extraneous comma labels for results with only a `name` 9 years ago
Stephen Hess 2c40827701 added `layer=borough` support for *all 5 boroughs* in data 9 years ago
missinglink e40c9ef326 increase focus weight from 10->40 and simplify population/popularity subview 9 years ago
Stephen Hess 0076200728 added special case for USA in labels 9 years ago
Stephen Hess c99fa9f0ef added support for `macroregion` 9 years ago
Julian Simioni 3c1d758229
Fix timeout error handling 9 years ago
Stephen Hess 8a54dbeef0 switched from `macrocountry` to `macrocounty` 9 years ago
Diana Shkolnikov 05f4374b0a Add more tests without spaces 9 years ago
Diana Shkolnikov 37d261c047 Removed a new test when merging 9 years ago
Diana Shkolnikov c415b96ead Named admin_parts adminParts which caused problems 9 years ago
Stephen Hess caa9745aaa standardized on naming conventions 9 years ago
Stephen Hess f783560224 split tests into logical units 9 years ago
Stephen Hess c5626d6c5e added `localadmin` for USA/GBR/default when `locality` isn't available 9 years ago
Julian Simioni e6e9c1c574
Do not apply local naming conventions to records with no admin info 9 years ago
Stephen Hess 0870e30366 Refactored the label generation code to be simpler 9 years ago
Julian Simioni 39502df284 Add borough to geojson output and USA.local labels 9 years ago
Diana Shkolnikov 8a15234e56 Fix failing test 9 years ago
Diana Shkolnikov 147c849b58 change admin property names to <place_type>_gid from <place_type>_id 9 years ago
Diana Shkolnikov 82e39fd81f parent block properties should not be changed, only top level ones 9 years ago
Diana Shkolnikov 201f4d4fb3 Convert parent WOF ids to valid Pelias ids to be used by /place 9 years ago
Diana Shkolnikov 3862dd233e change admin property names to <place_type>_gid from <place_type>_id 9 years ago