Julian Simioni
23ff51fd57
Add custom access_log handlers that remove user info
...
These handlers will remove sensitive query info from the logs when DNT
is enabled
9 years ago
Julian Simioni
57d1c8be1e
Return an object from access_log module
...
This allows adding more methods later.
9 years ago
Julian Simioni
ecb28bc3e9
Remove debug statements that print user parameters
9 years ago
Julian Simioni
9e12c650d0
Add logging helper module
...
This module has helper methods for logging. Currently it has methods to:
* detect if DNT is enabled
* remove sensitive information from input fields for logging
9 years ago
Julian Simioni
8a2392b2af
Merge pull request #536 from pelias/greenkeeper-check-types-7.0.0
...
Update check-types to version 7.0.0 🚀
9 years ago
greenkeeperio-bot
b9cac7d629
chore(package): update check-types to version 7.0.0
...
https://greenkeeper.io/
9 years ago
Julian Simioni
e2e84ea1a4
Merge pull request #535 from pelias/greenkeeper-proxyquire-1.7.7
...
proxyquire@1.7.7
9 years ago
greenkeeperio-bot
d168698dd6
chore(package): update proxyquire to version 1.7.7
...
https://greenkeeper.io/
9 years ago
Peter Johnson a.k.a. insertcoffee
5888cddfcc
Merge pull request #533 from pelias/improved_error_handling
...
refactor elasticsearch error detection, improve test coverage
9 years ago
Peter Johnson
63d9329afd
add additional test case
9 years ago
Peter Johnson
eb73ec7390
better comment
9 years ago
Peter Johnson
0caca08787
improve error matching by using string prefix matching on known elasticsearch exception names
9 years ago
Peter Johnson
b15cfb3795
refactor elasticsearch error detection, improve test coverage
9 years ago
Julian Simioni
833d3a7109
Merge pull request #481 from pelias/multi_match_admin_parts
...
Use multi_match query for admin fields
9 years ago
Diana Shkolnikov
e4647eaeaf
Merge pull request #445 from vesameskanen/no-stringify-logging
...
Remove expensive JSON.stringify from api debug logging calls
9 years ago
Julian Simioni
373a08e79b
Set all admin boosts to 1
...
They seem to interfere with the new multi_match query. More tweaking in
the future is definitely warranted.
9 years ago
Julian Simioni
ab19a12e1c
Use multi_match query for admin fields
9 years ago
Julian Simioni
e04efed98b
Merge pull request #526 from pelias/missinglink
...
autocomplete milestone
9 years ago
missinglink
979aab1ac3
ensure that problematic single grams are removed from the query
9 years ago
missinglink
1c9af40f3c
remove query.tokens_complete and query.tokens_incomplete from geoJSON
9 years ago
missinglink
05240626fd
handle addressit case where parsed_text.street is produced and parsed_text.name is not
9 years ago
Peter Johnson a.k.a. insertcoffee
e6d9a0c034
Merge pull request #529 from pelias/missinglink_complete_incomplete_refactor
...
improve api-side tokenizer
9 years ago
missinglink
ee73774c89
add tokenizer, refactor how we determine if a token is 'complete' or 'incomplete'
9 years ago
missinglink
b771053bd1
Merge branch 'master' of github.com:pelias/api into missinglink
9 years ago
Peter Johnson a.k.a. insertcoffee
2d136f75ea
Merge pull request #527 from pelias/enable_borough_for_search
...
enable borough for search
9 years ago
missinglink
e093a09a8d
remove search related improvements from this PR
9 years ago
missinglink
0c67347c27
enable borough for search
9 years ago
missinglink
9dbed08884
remove duplicate entry for borough
9 years ago
missinglink
da4c666538
reduce admin:borough:boost from 800->600
9 years ago
missinglink
2398f05f8d
fix borough matching for both autocomplete and search endpoints
9 years ago
missinglink
b862fc8833
refactor pop_subquery to be config driven
9 years ago
missinglink
ca0c51b0fd
don't strip single digits from query
9 years ago
missinglink
01a3233a7b
add a view to boost exact matches
9 years ago
missinglink
3051885119
Merge branch 'master' of github.com:pelias/api into missinglink
9 years ago
Julian Simioni
e29c9f300d
Merge pull request #524 from pelias/greenkeeper-pelias-query-6.3.0
...
Update pelias-query to version 6.3.0 🚀
9 years ago
greenkeeperio-bot
bf3d931640
chore(package): update pelias-query to version 6.3.0
...
https://greenkeeper.io/
9 years ago
Julian Simioni
ae5549dde8
Merge pull request #522 from pelias/admin_borough
...
Search borough when searching admin fields
9 years ago
Julian Simioni
f8af354e71
Base admin fields on placetypes
9 years ago
Julian Simioni
028ab1d889
Add search config settings for borough
9 years ago
missinglink
25ab63c3b3
change search analyzer to be more similar to what we had before the autocomplete_refactor milestone
9 years ago
Stephen K Hess
986c340f5b
Merge pull request #520 from pelias/switch-to-text-analyzer-package
...
switched to pelias-text-analyzer package since that responsibility ha…
9 years ago
Julian Simioni
25e9d6f026
Merge pull request #504 from pelias/use_new_express_send_status_method
...
Use new express sendStatus method
9 years ago
Stephen Hess
bd3b8e7bbe
switched to pelias-text-analyzer package since that responsibility has been moved to there
9 years ago
missinglink
30db744b87
Merge branch 'autocomplete_increase_slop' of github.com:pelias/api into missinglink
9 years ago
Julian Simioni
96199dc6d9
Merge pull request #512 from pelias/greenkeeper-pelias-model-4.0.0
...
Update pelias-model to version 4.0.0 🚀
9 years ago
Stephen K Hess
daec7e9ebb
Merge pull request #517 from pelias/fix-name-only-result-labels
...
fixed extraneous comma labels for results with only a `name`
9 years ago
Stephen K Hess
97ca8687d9
Merge pull request #514 from pelias/support-borough-layer
...
added `layer=borough` support for *all 5 boroughs* in data
9 years ago
Stephen Hess
9cdfce13c1
fixed extraneous comma labels for results with only a `name`
9 years ago
missinglink
b80efff0ea
Merge branch 'master' of github.com:pelias/api into missinglink
9 years ago
Stephen Hess
2c40827701
added `layer=borough` support for *all 5 boroughs* in data
9 years ago