80 Commits (ce292baeafbdacf11c12c271995183dc60da610a)

Author SHA1 Message Date
Julian Simioni ef78b2e0fd Filter source and layer by new fields 9 years ago
Julian Simioni cdd00af6bc Build responses with new source and layer fields 9 years ago
Stephen Hess d1dc88cefd added tests for `default` schema 9 years ago
Stephen Hess 0f6059c05a Refactored to use a function for looking up value for a label 9 years ago
Stephen Hess 431fe44f05 converted labelSchema to .js with module.exports 9 years ago
Stephen Hess 08f414b3d5 fixed encoding error that came from master 9 years ago
Stephen Hess f7260c63a0 added tests for USA local and regional fallbacks for label generation 9 years ago
Stephen Hess 5456632cdf Added flag to not include `default.name` in label 9 years ago
Stephen Hess 3e11e6687c added `country_a` to label for all USA results 9 years ago
Stephen Hess 3e8d1bfd9b broke country-specific label tests out to own file for easier testing 9 years ago
Julian Simioni 87f6f32985 Use tape's throws where appropriate 9 years ago
Julian Simioni b5be8dea42 Remove duplicate test 9 years ago
Diana Shkolnikov 9fa5fc5a77 calcSize became middleware (exposed and fixed bug in query defaults) 9 years ago
Diana Shkolnikov 54187dde67 Add dedupe middleware 9 years ago
Diana Shkolnikov 500835a4c1 Update addressit module to not strip 0s from zipcodes 9 years ago
Julian Simioni db895c05b7 Rename `from_address_parser` key to `from_text_parser` 9 years ago
Julian Simioni 59b70f7c7e Rename helper/query_parser to helper/text_parser 9 years ago
Peter Johnson 85a51bc48a more usa test cases 9 years ago
Peter Johnson d93f9c1803 more new zealand test cases 9 years ago
Peter Johnson 7cf8638795 more australian and thai test cases 9 years ago
Peter Johnson 5cc432ae50 more indian test cases 9 years ago
Peter Johnson b5b8647f0c more label improvements 9 years ago
Stephen Hess 4be987045e updated tests to reflect master type_mapping 9 years ago
Stephen Hess 02792de2dc added unit tests for verifying valid mapping between sources and layers 9 years ago
Peter Johnson 0918d3031f remove duplicate test 9 years ago
Peter Johnson 84dfa0f45e add custom singapore schema, it is unusual as it is both a city and a country 9 years ago
Peter Johnson 3a54a8b32f fix label issues 9 years ago
Peter Johnson 2b9c3d79aa rename outputGenerator -> labelGenerator 9 years ago
Julian Simioni d4fff26574 Derive type, source, and layer list instead of hardcoding 9 years ago
Julian Simioni 8b1037d7c8 Separate real layers and alias layers into separate objects 9 years ago
Julian Simioni 68c9661c70 Remove all mappings other than helper/type_mapping 9 years ago
Julian Simioni 4df0f98b14 Add type list, and raw mappings to/from source/layer and type 9 years ago
Julian Simioni dc623d5af7 Send 3 part gid (source, layer, id) in GeoJSON responses 9 years ago
Diana Shkolnikov 553f9780c5 Remove admin matching when address is not parsed 9 years ago
Diana Shkolnikov f1fdc2bc26 Remove categories from response json 9 years ago
Julian Simioni 509a6a7401 Remove geocoding block from properties in GeoJSON responses 9 years ago
Diana Shkolnikov c069933d5b Refactored layers and sources into a common targets module 9 years ago
Diana Shkolnikov 67e034f5f2 Rename `source` to `sources` 9 years ago
Julian Simioni 139cb22127 Remove layers limiting on queries with few tokens 9 years ago
Julian Simioni 103a52cff5 Calculate intersection of types requested by source and layers params 9 years ago
Julian Simioni b4e7793426 Fix reference to geoname 9 years ago
Julian Simioni 2ebc935295 Rename query/indidces to query/types 9 years ago
Julian Simioni 258fa4390e Move cmd.type setting logic to types helper 9 years ago
Julian Simioni 7a6ac8541b Separate concerns of address parser 9 years ago
Julian Simioni 1fae622c39 Remove layer configuration based on address parsing 9 years ago
Julian Simioni e71fb7cfd4 Whitespace 9 years ago
Julian Simioni a479de7527 Calculate intersection of types requested by source and layers params 9 years ago
Julian Simioni eed010835b Fix reference to geoname 9 years ago
Julian Simioni 24349a3839 Rename query/indidces to query/types 9 years ago
Julian Simioni 1573f3a3fa Move cmd.type setting logic to types helper 9 years ago