92 Commits (2811569bcd10957c8c239e04d168190a2b22152e)

Author SHA1 Message Date
Julian Simioni d4fff26574 Derive type, source, and layer list instead of hardcoding 9 years ago
Julian Simioni da1314eeff Add mapping function to get type from source and layer 9 years ago
Julian Simioni b2f3b54f66 Leave only geonames specific mapping in gejsonify helper 9 years ago
Julian Simioni fa44effdac Add geoname type to most layers 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 f1fdc2bc26 Remove categories from response json 9 years ago
Julian Simioni 509a6a7401 Remove geocoding block from properties in GeoJSON responses 9 years ago
Peter Johnson a1efb0c6d0 lodash-ify some array functions; remove 'yes' and 'y' from thruthy 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
Diana Shkolnikov dd78f324ee Compute distance for each result of reverse query 9 years ago
Peter Johnson 2f8169ac10 remove unused sort conditions 9 years ago
Peter Johnson 22322eaa32 change param:input to param:text 9 years ago
Julian Simioni 139cb22127 Remove layers limiting on queries with few tokens 9 years ago
Harish Krishna 86424b8bbe Rename `/search?input`, replacing it with '/search?text' parameter instead 9 years ago
Julian Simioni d45b09b0b3 Add comments to type helper 9 years ago
Julian Simioni 103a52cff5 Calculate intersection of types requested by source and layers params 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 0adc2821d2 Remove seemingly unhelpful comment 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 24349a3839 Rename query/indidces to query/types 9 years ago
Julian Simioni 1573f3a3fa Move cmd.type setting logic to types helper 9 years ago
Julian Simioni b9152dbe29 Separate concerns of address parser 9 years ago
Julian Simioni e42cb4a746 Remove seemingly unhelpful comment 9 years ago
Julian Simioni ad8db9b8e9 Remove layer configuration based on address parsing 9 years ago
Julian Simioni fb0cf514e9 Whitespace 9 years ago
Diana Shkolnikov 536a16ec94 Update `local_admin` to `localadmin` 9 years ago
Diana Shkolnikov 75aa235eb8 Properly map geoname results' `layer` and `source` properties 9 years ago
Diana Shkolnikov 562338635c Confidence score calculation 9 years ago
Diana Shkolnikov 1d8db6e5d1 Change type back to layer... oooops 9 years ago
Diana Shkolnikov 1b4b401a66 More property renaming/mapping 9 years ago
Diana Shkolnikov 5647d0d19a Add middleware for renaming placename properties to match WOF 9 years ago
Diana Shkolnikov 743d8efa54 Remove proxyquire from adminField test 9 years ago
Diana Shkolnikov ab436d5dfb Search query builder not checking all available admin values 9 years ago
Harish Krishna fae9aae3d3 moving the logic for each of the three parsed addresses out into their own function 9 years ago
Harish Krishna b361d4ee69 removing landmarks (was an experiment - has got nothing to do with address parsing) 9 years ago
Harish Krishna 495c3251a4 moving all query parsing logic into its own helper. Tests to come 9 years ago
Harish Krishna f78f49d857 moving sort logic.. popularity then population first! 9 years ago
Harish Krishna 6011e4ee2b weighing admin2 equally with local_admin, locality and neighborhood. 9 years ago
Harish Krishna e5f783567f remove all things that involved suggester including query mixer 9 years ago
Harish Krishna 5025b66a91 adding admin_weights instead of just boosting admin0 9 years ago
Harish Krishna c08a5919d4 adding landmark to the list 9 years ago
Diana Shkolnikov 39e3672271 Fix property check 10 years ago