Harish Krishna
|
e57d0b38ed
|
keys -> key
It's easy to misread and think keys contains a collection of some kind
|
10 years ago |
Harish Krishna
|
b3d958fe5a
|
Revert "match the whole query with phrase.default"
This reverts commit 1c763eeb75 .
|
10 years ago |
Harish Krishna
|
1c763eeb75
|
match the whole query with phrase.default
|
10 years ago |
Harish Krishna
|
b57621c0a9
|
removing admin2 match from the full valid address match
|
10 years ago |
Harish Krishna
|
8afc5ff004
|
Revert "splitting admin_parts and input_regions check"
This reverts commit 4a45e458ab .
|
10 years ago |
Harish Krishna
|
d6bcc1b400
|
test search query for valid address full & partial
|
10 years ago |
Harish Krishna
|
4a45e458ab
|
splitting admin_parts and input_regions check
|
10 years ago |
Harish Krishna
|
36cc6415d0
|
tests search
|
10 years ago |
Harish Krishna
|
35105015b2
|
tests suggest sanitiser
|
10 years ago |
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
|
10 years ago |
Harish Krishna
|
b361d4ee69
|
removing landmarks (was an experiment - has got nothing to do with address parsing)
|
10 years ago |
Harish Krishna
|
dbd1664042
|
Merge branch 'master' into ngram-address-parser
|
10 years ago |
Harish Krishna
|
95c0e7461d
|
TESTS!
|
10 years ago |
Harish Krishna
|
5401ed9962
|
2.2.0
|
10 years ago |
Harish Krishna
|
6efe46b796
|
Merge pull request #163 from pelias/err-fix
Error handling bug fix
|
10 years ago |
Harish Krishna
|
3ed4842e86
|
timeout is one word
|
10 years ago |
Harish Krishna
|
8e17f28170
|
typeof error should be string
|
10 years ago |
Harish Krishna
|
e636e6830f
|
Merge branch 'master' into ngram-address-parser
|
10 years ago |
Harish Krishna
|
e56a40f172
|
Merge pull request #165 from pelias/suggest-no-more
Remove all suggest code
|
10 years ago |
Harish Krishna
|
b3f85ebc17
|
err & err.message instead of err.message
|
10 years ago |
Harish Krishna
|
ccf26378d0
|
use 1.3.0
https://github.com/DamonOehlman/addressit/pull/13 got merged!
|
10 years ago |
Harish Krishna
|
708c24195d
|
adding admin_boost
|
10 years ago |
Harish Krishna
|
2f49322fb7
|
removing the console.log
|
10 years ago |
Harish Krishna
|
495c3251a4
|
moving all query parsing logic into its own helper. Tests to come
|
10 years ago |
Harish Krishna
|
f78f49d857
|
moving sort logic.. popularity then population first!
|
10 years ago |
Harish Krishna
|
6011e4ee2b
|
weighing admin2 equally with local_admin, locality and neighborhood.
|
10 years ago |
Harish Krishna
|
13e9aadeaf
|
removing an outrageous if condition
|
10 years ago |
Harish Krishna
|
a8c090252a
|
if the query has a number - search addresses
|
10 years ago |
Harish Krishna
|
346f187c3e
|
updateing isNumber regex
|
10 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
|
10 years ago |
Harish Krishna
|
ebd4a5a08a
|
splitOnDelim first followed by a space tokenizer
|
10 years ago |
Harish Krishna
|
a4d09f8e12
|
no address parsing required if there are only 2 or less tokens
|
10 years ago |
Harish Krishna
|
5a052627af
|
Revert "fix broken test"
This reverts commit 68dbf1bd2e .
|
10 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
|
10 years ago |
Harish Krishna
|
68dbf1bd2e
|
fix broken test
|
10 years ago |
Harish Krishna
|
a2a0a50b85
|
fix the number of admin_parts
|
10 years ago |
Harish Krishna
|
c957cbaf4f
|
bringing back admin2
|
10 years ago |
Harish Krishna
|
bdffe758d4
|
commenting out the overkill
|
10 years ago |
Harish Krishna
|
96a21570be
|
fixing layers related bug - adding a default_layers_set flag to clean obj.
|
10 years ago |
Harish Krishna
|
5025b66a91
|
adding admin_weights instead of just boosting admin0
|
10 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
|
10 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
|
10 years ago |
Harish Krishna
|
049a96efd6
|
flipping the popularity population order
|
10 years ago |
Harish Krishna
|
e149fed273
|
check yoself before you wreck yoself
|
10 years ago |
Harish Krishna
|
042772cf3b
|
only do address parsing when necessary
|
10 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
|
10 years ago |
Harish Krishna
|
8b60fe4e9a
|
Merge pull request #159 from pelias/408
Adding 408: request timeout response
|
10 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)
|
10 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)
|
10 years ago |
Harish Krishna
|
812e56c516
|
Revert "[debug] if ES cluster in stage/prod ever returns 408"
This reverts commit d2cc05b8e8 .
|
10 years ago |