Rhys Kidd
1dfc6988ed
Update to current Pelias contact email address
...
Per https://github.com/pelias/pelias/tree/master/announcements/2018-01-02-pelias-update
replace all @mapzen.com email addresses with the current Pelias contact email address.
grep used to confirm no '@mapzen.com' remain.
7 years ago
Stephen Hess
e0c25d0f57
convert libpostal calls to a microservice
7 years ago
Stephen Hess
b5e48afb35
remove text-analyzer address operation
7 years ago
Stephen Hess
f56deffb8f
allow libpostal configuration in schema w/other services
7 years ago
Diana Shkolnikov
cb59e305b0
log number of streets to be interpolated
7 years ago
Peter Backx
f16565df9e
Verify min and max longitude and latitude
...
Otherwise this can potentially lead to a fairly weird Elasticsearch error mentioned in https://github.com/pelias/pelias/issues/656
7 years ago
Julian Simioni
bc6401842c
Add friendly, coarse specific error message to reverse
...
This error message is updated to mention the coarse-reverse only nature
of Geonames support removal. It also links to the
[tracking ticket](https://github.com/pelias/acceptance-tests/pull/447 )
for Geonames removal which should help provide more context to users.
7 years ago
Stephen Hess
004e3c02b1
completed switch to vs tests over fixtures
7 years ago
Julian Simioni
d577d42d9f
Support geonames non-coarse reverse in deprecation sanitizer
7 years ago
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
66d4149f6a
removed references to outdated request parameters
7 years ago
Stephen Hess
02cfa36d24
switched structured query tests away from fixtures
7 years ago
Stephen Hess
da07463999
set req.clean.parser to 'libpostal' when it's called
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 Hess
05da79923f
wrap interpolation service call to intercept errors
7 years ago
Stephen Hess
18e7673dc1
added empire to coarse translation
7 years ago
Stephen Hess
2df5d6d23b
add empire to coarse reverse controller
7 years ago
Stephen Hess
5b86fbd7d8
add layers parameter support to PointInPolygon service request
7 years ago
Stephen Hess
214c3807eb
added continent, ocean, and marinearea to geojsonify
7 years ago
Stephen Hess
9d54735e41
converted geojsonify_place_details to return instead of modify
7 years ago
Stephen Hess
cd99f87c04
inlined and condensed doc setup
7 years ago
Stephen Hess
5e1360f022
refactored geojsonify, improved test coverage
7 years ago
Stephen Hess
27194a620e
added tests for geocode_place_details
7 years ago
Stephen Hess
e70a668056
added support for continent, ocean, and marinearea placetypes
...
`coarse` now maps to these as well
7 years ago
missinglink
69a820fae0
feat(coarse_reverse): ignore empty abbr properties from PIP service
7 years ago
Diana Shkolnikov
40870c4e04
check for missing parent object in confidence score computation
7 years ago
Diana Shkolnikov
b60e0113b3
check for missing parent object in confidence score computation
7 years ago
missinglink
3913c836e2
feat(coarse_reverse): improve logger assertions
7 years ago
missinglink
b88d2a0abe
feat(coarse_reverse): add try/catch block around synthesizeDoc code
7 years ago
missinglink
45f313d8d9
feat(coarse_reverse): improve logger assertions
7 years ago
missinglink
c72822b805
feat(coarse_reverse): add try/catch block around synthesizeDoc code
7 years ago
Stephen Hess
e67e49421b
updated test
7 years ago
Adam Rousell
8d7c01dcbe
Added tests for postcode fix
7 years ago
Stephen Hess
42097fafb2
treat undefined text-analyzer response as no house number available
7 years ago
Stephen Hess
30b7290990
added stub request_language sanitizer that just allows lang param
7 years ago
Lily He
7ecf770d79
create stackTraceLine helper to debug predicates
7 years ago
Lily He
af03e706b2
debug push takes function & beginTimer returns Date
7 years ago
Sergey Zelenov
1f3bb4608c
Fix typo in test/unit/controller/search_with_ids
...
Seems like a typo, should be `deepEqual` instead of `ok`
7 years ago
Stephen Hess
ab332e43ee
removed unused is_service_enabled predicate
7 years ago
Stephen Hess
951b18e656
switched to has_parsed_text_properties
7 years ago
Stephen Hess
99d6c6ba11
removed language service from schema
7 years ago
Stephen Hess
cf167ce933
map sources from helper/type_mapping.js
7 years ago
Stephen Hess
3c8bfa196e
added interpolation service to schema
...
refactored similar service tests to iterate list of services instead of duplicating many tests for each service
7 years ago
Stephen Hess
cd6b9d9ed6
updated service name
7 years ago
Stephen Hess
c8c969db74
added predicate for any/all parsed_text fields
7 years ago
Stephen Hess
41831ab7a0
converted middleware/interpolate to use injected service
7 years ago
Stephen Hess
d1461621c6
added ServiceConfiguration implementation for Interpolation
7 years ago
Stephen Hess
d1886a5073
removed unused modules
7 years ago