8 Commits (df40e34ad5a9e8d9cd5fe241fd664b792db6c7eb)

Author SHA1 Message Date
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 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 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
Harish Krishna fae9aae3d3 moving the logic for each of the three parsed addresses out into their own function 9 years ago
Harish Krishna 495c3251a4 moving all query parsing logic into its own helper. Tests to come 9 years ago
Harish Krishna a8c090252a if the query has a number - search addresses 9 years ago
Harish Krishna 346f187c3e updateing isNumber regex 9 years ago
Harish Krishna e1f3cfa0d3 no need to hit address parser if the input has just one token or two and no numbers 9 years ago
Harish Krishna ebd4a5a08a splitOnDelim first followed by a space tokenizer 9 years ago
Harish Krishna a4d09f8e12 no address parsing required if there are only 2 or less tokens 9 years ago
Harish Krishna bdffe758d4 commenting out the overkill 9 years ago
Harish Krishna 96a21570be fixing layers related bug - adding a default_layers_set flag to clean obj. 9 years ago
Harish Krishna 042772cf3b only do address parsing when necessary 9 years ago
Harish Krishna 1d24890b27 introducing target_layer that gets set part of input_parsing 9 years ago
Harish Krishna 5accecfa6c adding postcode support for usa 9 years ago
Harish Krishna 46cc1a6569 disabling parse-address 9 years ago
Harish Krishna 0b5b1dce85 address parser initial pass - breaks 68 tests! (ignoring tests for now) 9 years ago
Harish Krishna 176f580215 using is-object 10 years ago
Harish Krishna d2d76be8fa changing a commented line to reflect reality 10 years ago
Harish Krishna a003b7b9bf strip out leading and trailing whitespace if any 10 years ago
Harish Krishna 84a9b3e20e splitting on comma (trying to find/assume admin values) 10 years ago
Harish Krishna 32275aca56 split sanitizers into reusable pieces. renaming sanitise to suggest. using suggest sanitizer for search. adding reverse sanitizer. updating tests.. 10 years ago