Harish Krishna
|
e00c5aa2ad
|
Testing search sanitisers
all sanitiser tests should test sanitizing input, lat/lon etc..
query parsing is tested seperately so, using query_parser to set expected.parsed_input
|
9 years ago |
Harish Krishna
|
b361d4ee69
|
removing landmarks (was an experiment - has got nothing to do with address parsing)
|
9 years ago |
Harish Krishna
|
dbd1664042
|
Merge branch 'master' into ngram-address-parser
|
9 years ago |
Harish Krishna
|
95c0e7461d
|
TESTS!
|
9 years ago |
Harish Krishna
|
5401ed9962
|
2.2.0
|
9 years ago |
Harish Krishna
|
6efe46b796
|
Merge pull request #163 from pelias/err-fix
Error handling bug fix
|
9 years ago |
Harish Krishna
|
3ed4842e86
|
timeout is one word
|
9 years ago |
Harish Krishna
|
8e17f28170
|
typeof error should be string
|
9 years ago |
Harish Krishna
|
e636e6830f
|
Merge branch 'master' into ngram-address-parser
|
9 years ago |
Harish Krishna
|
e56a40f172
|
Merge pull request #165 from pelias/suggest-no-more
Remove all suggest code
|
9 years ago |
Harish Krishna
|
b3f85ebc17
|
err & err.message instead of err.message
|
9 years ago |
Harish Krishna
|
ccf26378d0
|
use 1.3.0
https://github.com/DamonOehlman/addressit/pull/13 got merged!
|
9 years ago |
Harish Krishna
|
708c24195d
|
adding admin_boost
|
9 years ago |
Harish Krishna
|
2f49322fb7
|
removing the console.log
|
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
|
13e9aadeaf
|
removing an outrageous if condition
|
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
Ex: new, new york, minneapolis etc dont need address parsing but 'starbucks 10010' might need it
|
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
|
5a052627af
|
Revert "fix broken test"
This reverts commit 68dbf1bd2e .
|
9 years ago |
Harish Krishna
|
e5f783567f
|
remove all things that involved suggester including query mixer
keeping the suggest sanitizer for suggest/nearby wherein lat/lon are required
|
9 years ago |
Harish Krishna
|
68dbf1bd2e
|
fix broken test
|
9 years ago |
Harish Krishna
|
a2a0a50b85
|
fix the number of admin_parts
|
9 years ago |
Harish Krishna
|
c957cbaf4f
|
bringing back admin2
|
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
|
5025b66a91
|
adding admin_weights instead of just boosting admin0
|
9 years ago |
Harish Krishna
|
381cb1917a
|
big fix - err is of type string if there is an error within express app - its of type object (with .message being string) in case of errors messages from the ES cluster
|
9 years ago |
Harish Krishna
|
ae4e75784f
|
big fix - err is of type string if there is an error within express app - its of type object (with .message being string) in case of errors messages from the ES cluster
|
9 years ago |
Harish Krishna
|
049a96efd6
|
flipping the popularity population order
|
9 years ago |
Peter Johnson a.k.a. insertcoffee
|
2de24ef40d
|
Merge pull request #161 from pelias/master
production merge
|
9 years ago |
Harish Krishna
|
e149fed273
|
check yoself before you wreck yoself
|
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
- if input is less than 3 characters -> only hit admin layers
- if input suggests that its not a street address -> avoid hitting address layers
|
9 years ago |
Harish Krishna
|
8b60fe4e9a
|
Merge pull request #159 from pelias/408
Adding 408: request timeout response
|
9 years ago |
Harish Krishna
|
1cfa76880b
|
check for err message if it contains the words request timeout (because sometimes it comes back as a 500 even though it should be 408)
|
9 years ago |
Harish Krishna
|
71b0c12f70
|
check for err message if it contains the words request timeout (because sometimes it comes back as a 500 even though it should be 408)
|
9 years ago |
Harish Krishna
|
812e56c516
|
Revert "[debug] if ES cluster in stage/prod ever returns 408"
This reverts commit d2cc05b8e8 .
|
9 years ago |
Harish Krishna
|
d2cc05b8e8
|
[debug] if ES cluster in stage/prod ever returns 408
|
9 years ago |
Harish Krishna
|
793182148a
|
middleware fix
|
9 years ago |
Harish Krishna
|
b51aed512b
|
adding 408.js
|
9 years ago |
Harish Krishna
|
f2197c4dd2
|
middleware fix
|
9 years ago |
Peter Johnson
|
df66dccbc2
|
run webserver on all available cores, resolves #6
|
9 years ago |
Harish Krishna
|
78c112d787
|
adding 408.js
|
9 years ago |
Harish Krishna
|
b9c4c673f5
|
Revert "removing searchType overhead"
This reverts commit ee4aa1b97a .
|
9 years ago |
Harish Krishna
|
ee4aa1b97a
|
removing searchType overhead
|
9 years ago |