Julian Simioni
b4fb62f2c9
Test that src/backend passes correct config to elasticsearch
9 years ago
Julian Simioni
6f7b2ac68a
Pass esclient config to elasticsearch module
...
This fixes a regression in #423 that breaks our configuration in dev and
production.
9 years ago
Julian Simioni
a3cdcb1e14
Merge pull request #451 from pelias/pelias_query_6_1_0
...
Upgrade to pelias-query@6.1.0
9 years ago
Peter Johnson
a4f6e70d25
upgrade to pelias-query@6.1.0
9 years ago
Diana Shkolnikov
04e19b1cfa
Merge pull request #447 from pelias/local-naming
...
Fix local naming convention and confidence score middlewares
9 years ago
Diana Shkolnikov
aff146aec3
Fix local naming convention and confidence score middlewares
9 years ago
Vesa Meskanen
a2e96987fc
Remove expensive JSON.stringify from api debug logging calls
9 years ago
Vesa Meskanen
caaee361b2
Take absence of information as a difference, after all
...
Is '5 main street' same as 'main street'? Probably not. It may be that
less detailed data is different data, not just bad data. maybe this can
be changed if coordinates are considered, too.
9 years ago
Vesa Meskanen
827788e16c
Revert "Dedupe unit test data for testing missing attributes"
...
This reverts commit 6430930cb5
.
9 years ago
Vesa Meskanen
6430930cb5
Dedupe unit test data for testing missing attributes
...
Test data has two otherwise identical entries, but the latter
one lacks some attributes. It should be considered as a duplicate.
9 years ago
Vesa Meskanen
0e6bf8ed00
Improve response deduping
...
Consider locality and neighborhood, too. Do not take absence of
an attribute as a difference.
9 years ago
Diana Shkolnikov
e17b940136
Compute extent bounding box and expose bounding_box property in results
9 years ago
Diana Shkolnikov
36b6adddfd
Add bounding_box parsing step
9 years ago
Julian Simioni
9bc2c69118
Merge pull request #423 from pelias/use_elasticsearch_module
...
Use the official elasticsearch module
9 years ago
Julian Simioni
ab427229f4
Use the official elasticsearch
...
This replaces the pelias-esclient library which has not been maintained
for a long time.
9 years ago
Peter Johnson a.k.a. insertcoffee
e4caca0b28
Merge pull request #438 from pelias/test_utils
...
add common.diff() function for test debugging
9 years ago
missinglink
cd16ff92b1
add common.diff() function for test debugging
9 years ago
Julian Simioni
0c87cbcf7b
Merge pull request #435 from pelias/abbr-to-a
...
Use new admin fields
9 years ago
Julian Simioni
3a85392862
Update _type value in ES response fixtures
...
osmnode and osmway are not types anymore!
9 years ago
Julian Simioni
40d89d7960
Add link to WOF license file
9 years ago
Julian Simioni
a2950eebc4
Cleanup renamePlacenames
9 years ago
Julian Simioni
aebaf52f61
Remove pelias-schema from dependencies
9 years ago
Diana Shkolnikov
4dc1da27a5
Upgrade pelias-query to 6.0.0
9 years ago
Diana Shkolnikov
b2accb71e9
Get rid of QS references
9 years ago
Diana Shkolnikov
b3939efb21
Fix ciao tests
9 years ago
Diana Shkolnikov
b7bc3593c2
Lint cleanup
9 years ago
Diana Shkolnikov
e9ceb25ca0
Fix crash when dedupe was comparing arrays as stings for parent properties
9 years ago
Diana Shkolnikov
af8044ef29
Fix all unit tests
9 years ago
Diana Shkolnikov
f3ba492e05
Remove all usage of alpha3/admin0/admin1, update query building to reflect new names in pelias-query
9 years ago
Diana Shkolnikov
3daec67b6b
Fix helper unit tests
9 years ago
Diana Shkolnikov
31374b5381
Fix middleware unit tests
9 years ago
Diana Shkolnikov
83de24d3c4
Middleware: remove all use of alpha3/admin0/admin1
9 years ago
Diana Shkolnikov
7aeea99ea7
Remove quattroshapes and admin0/admin1 from layers
9 years ago
Diana Shkolnikov
b8ab7c00f7
Cleanup the label generation code just a bit
9 years ago
Diana Shkolnikov
4219cefd56
Add new parent properties and take the first one in each property if it is an array
9 years ago
Diana Shkolnikov
e14697fe40
Remove adminFields because it is not needed anymore
9 years ago
Julian Simioni
cb7c51a3d7
Merge pull request #407 from pelias/new_wof_model_format
...
New wof model format
9 years ago
Julian Simioni
79883594b8
Use clean.layers to determine types
...
This allows removing the types middleware and simplifies some code.
9 years ago
Julian Simioni
692b6da17d
Use layer instead of _type field to determine layer
9 years ago
Julian Simioni
74d05867cf
Update mock Elasticsearch response data
9 years ago
Julian Simioni
ab9dbdf7f0
Update ciao tests
9 years ago
missinglink
67449dcae0
Tweak weights for focus
9 years ago
Julian Simioni
616dd606a7
Add sources and layers sanitiser
...
This sanitiser can do a better job of determining when an invalid
combination of sources and layers was specified, and produce helpful
error messages.
9 years ago
missinglink
ce292baeaf
fixes for focus.point to work with wof integration
9 years ago
Julian Simioni
ef78b2e0fd
Filter source and layer by new fields
...
This is functionally the same code as before, except that it uses the
new source and layer mapping.
9 years ago
Julian Simioni
8fdb522f11
Upgrade to pelias-query 5.1.0
9 years ago
Julian Simioni
0ee1fdb4d9
Remove obsolete Geonames ID tests
...
These are fixed now with our better source/layer mapping
9 years ago
Julian Simioni
fa07ba9ddc
Add much needed whitespace
9 years ago
Julian Simioni
9ec2cd41d9
Remove unused file: sanitiser/_source.js
...
It was replaced by the dual purpose sanitiser/_targets.js
9 years ago
Julian Simioni
cdd00af6bc
Build responses with new source and layer fields
...
There is no longer any ambiguity in the source field and the layer
(which is stored as _type), so a lot of logic to compute them can simply
read from the elasticsearch document. Hooray!
9 years ago