Stephen Hess
110a258130
added initial tests for using vs
7 years ago
Julian Simioni
f9281190ac
Corrrectly filter /place queries by layer
...
`/place` queries have been executing in a way where only the ID, but not
the layer, has been considered when returning records from
Elasticsearch.
It turns out this bug was introduced almost a year and a half ago in
https://github.com/pelias/api/pull/407 . A little, relatively unimportant
bit of code was looking for a property called `layers`:
```
const cmd = req.clean.ids.map( function(id) {
return {
_index: apiConfig.indexName,
_type: id.layers,
_id: id.id
};
});
```
The correct property was `layer`, so no filtering on layer was done in
the resulting [mget](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-multi-get.html ) query.
There was never an acceptance test for these sorts of queries, but there
is now one in https://github.com/pelias/acceptance-tests/pull/446 . The
unit tests were enforcing the incorrect behavior.
Fixes https://github.com/pelias/pelias/issues/643
7 years ago
Stephen Hess
99b98a7bcd
Merge pull request #1041 from pelias/greenkeeper/pelias-text-analyzer-1.10.2
...
Update pelias-text-analyzer to the latest version π
7 years ago
greenkeeper[bot]
ca99382394
fix(package): update pelias-text-analyzer to version 1.10.2
7 years ago
Stephen Hess
553ddb972b
Merge pull request #1040 from pelias/greenkeeper/initial
...
Update dependencies to enable Greenkeeper π΄
7 years ago
Stephen Hess
393a51703d
revert joi version, keep pelias-text-analyzer
7 years ago
greenkeeper[bot]
d7e4ebdafb
chore(package): update dependencies
7 years ago
Stephen Hess
4df392225b
Merge pull request #1035 from pelias/greenkeeper/pelias-text-analyzer-1.10.0
...
Update pelias-text-analyzer to the latest version π
7 years ago
greenkeeper[bot]
d8ddfdc174
fix(package): update pelias-text-analyzer to version 1.10.0
7 years ago
Stephen Hess
ed8e596d41
Merge pull request #1034 from pelias/greenkeeper/pelias-logger-0.3.0
...
Update pelias-logger to the latest version π
7 years ago
greenkeeper[bot]
b7984a9e6a
fix(package): update pelias-logger to version 0.3.0
7 years ago
Stephen Hess
917a4c623a
Merge pull request #1033 from pelias/greenkeeper/pelias-model-5.2.0
...
Update pelias-model to the latest version π
7 years ago
Stephen Hess
dc6579a081
Merge pull request #1032 from pelias/greenkeeper/pelias-config-2.13.0
...
Update pelias-config to the latest version π
7 years ago
greenkeeper[bot]
68eec00609
fix(package): update pelias-model to version 5.2.0
7 years ago
greenkeeper[bot]
9df6817652
fix(package): update pelias-config to version 2.13.0
7 years ago
Stephen Hess
b8a538e681
Merge pull request #1029 from pelias/remove-test-references-to-viewport
...
removed references to outdated request parameters
7 years ago
Stephen Hess
1a3a983a84
Merge pull request #1031 from pelias/enable-config-of-listen-address
...
use host from HOST environmental variable
7 years ago
Stephen Hess
cb8f4017e5
use host from HOST environmental variable
7 years ago
Stephen Hess
66d4149f6a
removed references to outdated request parameters
7 years ago
Stephen Hess
0670aec5f1
Merge pull request #1028 from pelias/update-readme-for-interpolation-config
...
updated for new location of interpolation service
7 years ago
Stephen Hess
937b60ddf5
Merge pull request #1027 from pelias/greenkeeper/predicates-2.0.0
...
Update predicates to the latest version π
7 years ago
Stephen Hess
929e6daf8b
Merge branch 'master' into greenkeeper/predicates-2.0.0
7 years ago
Stephen Hess
855d2cfd90
Merge pull request #1021 from pelias/simplify-structured-query-tests
...
switched structured query tests away from fixtures
7 years ago
Stephen Hess
59fd5649be
Merge pull request #1026 from pelias/greenkeeper/joi-12.0.0
...
Update joi to the latest version π
7 years ago
Stephen Hess
ef67f993df
Merge pull request #1024 from pelias/greenkeeper/pelias-text-analyzer-1.9.5
...
Update pelias-text-analyzer to the latest version π
7 years ago
Stephen Hess
95551abb9d
updated for new location of interpolation service
7 years ago
greenkeeper[bot]
b7f110cfa4
fix(package): update predicates to version 2.0.0
7 years ago
greenkeeper[bot]
2ec1af4856
fix(package): update joi to version 12.0.0
7 years ago
greenkeeper[bot]
5d7a0bfd1c
fix(package): update pelias-text-analyzer to version 1.9.5
7 years ago
Diana Shkolnikov
563b8f0469
Merge pull request #1022 from pelias/greenkeeper/pelias-logger-0.2.1
...
Update pelias-logger to the latest version π
7 years ago
greenkeeper[bot]
1f3393a5c3
fix(package): update pelias-logger to version 0.2.1
7 years ago
Stephen Hess
02cfa36d24
switched structured query tests away from fixtures
7 years ago
Stephen K Hess
e6d9188599
Merge pull request #1017 from pelias/set-libpostal-as-parser
...
set req.clean.parser to 'libpostal' when it's called
7 years ago
Diana Shkolnikov
cf254bc8f5
Merge pull request #1018 from pelias/greenkeeper/pelias-labels-1.7.0
...
Update pelias-labels to the latest version π
7 years ago
greenkeeper[bot]
02bccfa1ad
fix(package): update pelias-labels to version 1.7.0
7 years ago
Stephen Hess
da07463999
set req.clean.parser to 'libpostal' when it's called
7 years ago
Stephen K Hess
96825b589e
Merge pull request #1014 from pelias/remove-empire-when-country-exists
...
if country_gid exists, remove empire fields
7 years ago
Stephen Hess
3a862c17ec
move empire include/exclude logic to eojsonify_place_details
7 years ago
Stephen Hess
e4e8d9b0bf
if country_gid exists, remove empire fields
7 years ago
Stephen K Hess
9249bf0d49
Merge pull request #1015 from pelias/remove-extend-dependency
...
Remove extend dependency
7 years ago
Stephen Hess
6ee5e897b1
removed unused dependency
7 years ago
Stephen Hess
6fd3c011fb
remove unused require
7 years ago
Stephen Hess
1e003efe28
used lodash.extend instead of extend module
7 years ago
Stephen Hess
16e01b5049
remove unused require
7 years ago
Stephen Hess
759c0e0939
switched to lodash.extend over extend module
7 years ago
Stephen Hess
795474f87b
removed unused dependency
7 years ago
Stephen K Hess
d7525d71ac
feat: Merge pull request #1013 from pelias/rework-interpolation-error-handling
...
wrap interpolation service call to intercept errors
7 years ago
Stephen Hess
05da79923f
wrap interpolation service call to intercept errors
7 years ago
Julian Simioni
2b63c6a4e7
Merge branch 'production'
...
This was needed because of our hotfixes from earlier in the week
7 years ago
Julian Simioni
86ef49ff75
Merge pull request #1002 from pelias/add-support-for-new-placetypes
...
Add support for new placetypes
7 years ago