Peter Johnson
|
b15cfb3795
|
refactor elasticsearch error detection, improve test coverage
|
9 years ago |
Julian Simioni
|
e6e9c1c574
|
Do not apply local naming conventions to records with no admin info
There's no way to decide what to do, and without handling this case the
API will return an error.
|
9 years ago |
Diana Shkolnikov
|
147c849b58
|
change admin property names to <place_type>_gid from <place_type>_id
|
9 years ago |
Diana Shkolnikov
|
82e39fd81f
|
parent block properties should not be changed, only top level ones
|
9 years ago |
Diana Shkolnikov
|
201f4d4fb3
|
Convert parent WOF ids to valid Pelias ids to be used by /place
|
9 years ago |
Diana Shkolnikov
|
3862dd233e
|
change admin property names to <place_type>_gid from <place_type>_id
|
9 years ago |
Diana Shkolnikov
|
10cd693e02
|
parent block properties should not be changed, only top level ones
|
9 years ago |
Diana Shkolnikov
|
7231e229d4
|
Convert parent WOF ids to valid Pelias ids to be used by /place
|
9 years ago |
Vesa Meskanen
|
1a156488d2
|
Unit test for configured flip street/number countries
|
9 years ago |
Vesa Meskanen
|
0064f6f257
|
Add two new test entries to test neighbourhood and locality in deduping
|
9 years ago |
Diana Shkolnikov
|
74467e91e6
|
Update tests and fixtures
|
9 years ago |
Diana Shkolnikov
|
aff146aec3
|
Fix local naming convention and confidence score middlewares
|
9 years ago |
Diana Shkolnikov
|
36b6adddfd
|
Add bounding_box parsing step
|
9 years ago |
Diana Shkolnikov
|
31374b5381
|
Fix middleware unit tests
|
9 years ago |
Diana Shkolnikov
|
df93be7543
|
Fix deduping for non-ascii strings
|
9 years ago |
Julian Simioni
|
fcc9237993
|
Use tape's doesNotThrow where appropriate
|
9 years ago |
Julian Simioni
|
5a84afa539
|
Add test of parsing hit with no address object
In #369 I said I wouldn't bother testing for the case of the address
object on hit being absent, but it turns out that does sometimes happen.
|
9 years ago |
Diana Shkolnikov
|
54187dde67
|
Add dedupe middleware
Dedupe middleware removes __exact__ dupes and truncates the results
to the specified size.
|
9 years ago |
Peter Johnson
|
4e43310288
|
german street/number naming convention
|
9 years ago |
Diana Shkolnikov
|
ce32802368
|
Hotfix for confidence exception
|
9 years ago |
Diana Shkolnikov
|
537effa8bf
|
Fix distance calculation to use 'point.lat' instead of 'lat'
|
9 years ago |
Diana Shkolnikov
|
f63533dd9c
|
Switch to res.data instead of req.results.data
|
9 years ago |
Stephen Hess
|
d270ba71cb
|
added negative tests for req w/o results and req.results w/o data
|
9 years ago |
Stephen Hess
|
5849477929
|
adjusted 'exact' confidence to be within 1 meter
|
9 years ago |
Stephen Hess
|
0b5172a452
|
initial stab at confidence score calculation based on distance from point.lat and point.lon
|
9 years ago |
Peter Johnson
|
6ab81ffca5
|
set response data/meta on instead of
|
9 years ago |
Diana Shkolnikov
|
dd78f324ee
|
Compute distance for each result of reverse query
|
9 years ago |