49 Commits (0489aa0bc652a62442882586c5eacaf373470178)

Author SHA1 Message Date
Stephen Hess d230367f02 changed the variable passed to the label generator 8 years ago
Stephen Hess beb309ca07 moved assignLabels to fire before geojsonify 8 years ago
Stephen Hess 94eaafd39a setup labelGenerator to have a default 8 years ago
Stephen Hess 248b1299c8 added post-processing step to generate labels 8 years ago
Diana Shkolnikov 3fe113645f feat: check for preferred record when dupe found 8 years ago
Diana Shkolnikov 21d4bb63f3 feat: add accuracy field 8 years ago
Diana Shkolnikov fd3ec97ad0 add new confidence score computation for fallback query type 8 years ago
Diana Shkolnikov 9fd19242e7 make existing confidence score only handle the original query type 8 years ago
Stephen Hess df2ac8c91b added `street` to trimByGranularity 8 years ago
Stephen Hess d5e993fc11 included `localadmin`, `macrocounty`, `macroregion`, and `dependency` 8 years ago
Stephen Hess 681d689f51 fixed test names 8 years ago
Diana Shkolnikov a8e82b018d Refactor deduper and write additional tests 8 years ago
Stephen Hess 7495cad465 added middleware component to trim by result granularity 8 years ago
Stephen Hess 5f259d420b updated text-analyzer version, removed unused module 8 years ago
Stephen Hess c7e5ba2e2a added postprocessing step to trim by granularity 8 years ago
Stephen Hess abef8f1efa initial stab at generatePermutations 8 years ago
Julian Simioni 8cae743c80
Handle empty country_a values as well 8 years ago
Julian Simioni f18e278e51
Handle case where record has no region_ a field 8 years ago
Julian Simioni 23ff51fd57
Add custom access_log handlers that remove user info 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 e6e9c1c574
Do not apply local naming conventions to records with no admin info 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
Diana Shkolnikov 10cd693e02 parent block properties should not be changed, only top level ones 9 years ago
Diana Shkolnikov 7231e229d4 Convert parent WOF ids to valid Pelias ids to be used by /place 9 years ago
Vesa Meskanen 1a156488d2 Unit test for configured flip street/number countries 9 years ago
Vesa Meskanen 0064f6f257 Add two new test entries to test neighbourhood and locality in deduping 9 years ago
Diana Shkolnikov 74467e91e6 Update tests and fixtures 9 years ago
Diana Shkolnikov aff146aec3 Fix local naming convention and confidence score middlewares 9 years ago
Diana Shkolnikov 36b6adddfd Add bounding_box parsing step 9 years ago
Diana Shkolnikov 31374b5381 Fix middleware unit tests 9 years ago
Diana Shkolnikov df93be7543 Fix deduping for non-ascii strings 9 years ago
Julian Simioni fcc9237993 Use tape's doesNotThrow where appropriate 9 years ago
Julian Simioni 5a84afa539 Add test of parsing hit with no address object 9 years ago
Diana Shkolnikov 54187dde67 Add dedupe middleware 9 years ago
Peter Johnson 4e43310288 german street/number naming convention 9 years ago
Diana Shkolnikov ce32802368 Hotfix for confidence exception 9 years ago
Diana Shkolnikov 537effa8bf Fix distance calculation to use 'point.lat' instead of 'lat' 9 years ago
Diana Shkolnikov f63533dd9c Switch to res.data instead of req.results.data 9 years ago
Stephen Hess d270ba71cb added negative tests for req w/o results and req.results w/o data 9 years ago
Stephen Hess 5849477929 adjusted 'exact' confidence to be within 1 meter 9 years ago
Stephen Hess 0b5172a452 initial stab at confidence score calculation based on distance from point.lat and point.lon 9 years ago
Peter Johnson 6ab81ffca5 set response data/meta on instead of 9 years ago
Diana Shkolnikov dd78f324ee Compute distance for each result of reverse query 9 years ago