Julian Simioni
bad7b13ab2
Merge pull request #548 from pelias/remove_unused_file
...
Remove unused sanitiser test
9 years ago
Julian Simioni
4069c99212
Remove unused sanitiser test
...
The sanitiser got removed at some point, but the tests remained.
9 years ago
Julian Simioni
5b15b0f30a
Merge pull request #542 from pelias/respect_privacy_headers
...
Respect privacy headers
9 years ago
Stephen K Hess
c8d2002122
Merge pull request #544 from pelias/greenkeeper-pelias-query-7.0.0
...
Update pelias-query to version 7.0.0 🚀
9 years ago
Diana Shkolnikov
f5f07dce40
Merge pull request #543 from pelias/source_id
...
Add source_id property
9 years ago
Julian Simioni
d7eacaf59e
Fix mistaken order of parameters
...
peliasAdmin was supposed to be a parameter to the multi match view, but
instead it was being sent to the score view and ignored.
Thanks to @trescube for catching this.
9 years ago
greenkeeperio-bot
ca0b121bde
chore(package): update pelias-query to version 7.0.0
...
https://greenkeeper.io/
9 years ago
Diana Shkolnikov
1435de906d
Add source_id property
9 years ago
Julian Simioni
5a3c9bbb76
Merge pull request #540 from pelias/remove_unused_engines
...
Remove unused engines
9 years ago
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
bfd340a0fc
Remove NPM engine specification
...
According to the NPM docs on [engine](https://docs.npmjs.com/files/package.json#engines ),
this specification was only ever advisory, and is now depricated. It
seems to cause NPM to pull in a very old version of NPM, which causes
warnings when installing dependencies.
9 years ago
Julian Simioni
5293e96929
Remove Elasticsearch from engines
...
According to the [docs](https://docs.npmjs.com/files/package.json#engines )
only node and NPM versions may be specified here.
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
Peter Johnson
cb67dd58d8
refactor boolean query filtering as per: https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking_20_query_dsl_changes.html#_literal_filtered_literal_query_and_literal_query_literal_filter_deprecated
9 years ago
Peter Johnson
dd5215cbae
upgrade to ES2+
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