Peter Johnson
b5b3c41ba1
remove microtime module
9 years ago
Julian Simioni
fef92bd34b
Remove the geoname _type from all layers except venue
...
We can't distinguish between geonames of different layers due to an
ambiguity in our Elasticsearch schema that we unfortunately won't be
able to fix for a few weeks.
So, while it's technically true that there are countries, cities, etc
contained in the geonames dataset, it's still better for now to remove
geonames from these layers. We have good coverage of most coarse layers
from quattroshapes alone, so the impact isn't too bad.
9 years ago
Peter Johnson a.k.a. insertcoffee
ef8206be6c
Merge pull request #314 from pelias/remove-redundant-ids-array-check
...
removed redundant is-ids-an-array check
9 years ago
Stephen Hess
00d033101b
removed redundant is-ids-an-array check (already covered by _single_scalar_parameter sanitizer)
9 years ago
Julian Simioni
12ede164b3
Merge branch 'parameter_groups'
9 years ago
Julian Simioni
c3417a0ace
Cleanup comments for usage of groups sanitizer
9 years ago
Julian Simioni
b315adc6aa
Use groups sanitiser in sanitize_circle
9 years ago
Julian Simioni
415029e02b
Use groups sanitiser in sanitize_rect and sanitize_point
9 years ago
Julian Simioni
aa08fb9772
Add optional and required group parameter sanitizers
9 years ago
Julian Simioni
f3ba5411cd
Sort test file names
9 years ago
Julian Simioni
91a800ecee
Merge branch 'fix-place-es-queries-for-type'
9 years ago
Peter Johnson a.k.a. insertcoffee
a205bca164
Merge pull request #310 from pelias/field_boosts
...
tweak boost values
9 years ago
Peter Johnson
31ae318861
tweaks
9 years ago
Peter Johnson
c7a79c57b5
reduce streetnumber boost
9 years ago
Peter Johnson
3a5e6f7811
tweak boost values
9 years ago
Peter Johnson a.k.a. insertcoffee
b9087b5d66
Merge pull request #308 from pelias/label_generator
...
remove duplicate test
9 years ago
Peter Johnson
0918d3031f
remove duplicate test
9 years ago
Stephen Hess
cb7d22df91
switched ES lookup field from "type" -> "_type", fixes issue with /place lookup on Eiffel Tower gid
9 years ago
Peter Johnson a.k.a. insertcoffee
cc2cd01e1e
Merge pull request #301 from pelias/label_generator
...
fix labels
9 years ago
Peter Johnson a.k.a. insertcoffee
1abc974ffc
Merge pull request #303 from pelias/OpenAddresses-License-Addition
...
OpenAddresses added to attribution under CC0
9 years ago
Peter Johnson a.k.a. insertcoffee
09f5ee0acd
Merge pull request #302 from pelias/bbox_top_bottom_flip
...
flip lon values for boundary.rect
9 years ago
Peter Johnson
84dfa0f45e
add custom singapore schema, it is unusual as it is both a city and a country
9 years ago
Riordan
b23b52682e
🏠 ©️ 🆓 OpenAddresses added to attribution under CC0
9 years ago
Peter Johnson
87ce3bd92e
flip lon values for boundary.rect
9 years ago
Peter Johnson
3a54a8b32f
fix label issues
9 years ago
Peter Johnson
2b9c3d79aa
rename outputGenerator -> labelGenerator
9 years ago
Peter Johnson a.k.a. insertcoffee
942bd827bc
Merge pull request #294 from pelias/admin_popularity_boost
...
admin boost for sqrt(popularity), autocomplete focus not restricted to phrase matches
9 years ago
Diana Shkolnikov
ccec853112
Merge pull request #299 from pelias/hotfix-confidence
...
Hotfix for confidence exception
9 years ago
Diana Shkolnikov
ce32802368
Hotfix for confidence exception
9 years ago
Stephen K Hess
a0ad59127f
Merge pull request #295 from pelias/261-set-boundary-circle-latlong-to-point-latlon
...
261 set boundary circle latlong to point latlon
9 years ago
Diana Shkolnikov
ae50201c27
Merge pull request #291 from pelias/remove-regions-check
...
Remove admin matching when address is not parsed
9 years ago
Diana Shkolnikov
62315a1775
Revert defaults.json change
9 years ago
Stephen Hess
1c066b65e7
switched undefined check to positive lodash call
9 years ago
Stephen Hess
2ba206f122
removed debug
9 years ago
Diana Shkolnikov
72042bcd77
Merge branch '261-set-boundary-circle-latlong-to-point-latlon' of github.com:pelias/api into 261-set-boundary-circle-latlong-to-point-latlon
9 years ago
Diana Shkolnikov
3395c6485e
Merge branch 'master' of github.com:pelias/api into 261-set-boundary-circle-latlong-to-point-latlon
9 years ago
Julian Simioni
c82e695dce
Merge branch '277-3-part-gids'
9 years ago
Julian Simioni
a2cc31f142
Leave a note for future us
...
A small essay on Elasticsearch queries and fields and types.
9 years ago
Julian Simioni
e157749de3
Use _.contains instead of .indexOf
9 years ago
Julian Simioni
7b9d61c5ec
Use lodash intersection method
9 years ago
Julian Simioni
2811569bcd
Switch to source:layer:id ids format in /place
9 years ago
Julian Simioni
d4fff26574
Derive type, source, and layer list instead of hardcoding
9 years ago
Julian Simioni
d11d185429
Fix missing space in error message
9 years ago
Julian Simioni
da1314eeff
Add mapping function to get type from source and layer
9 years ago
Julian Simioni
2505e92a62
Expect an array of types from _ids sanitiser
...
This doesn't have any effect by itself but allows for the 3-part gid
sanitiser to possibly return multiple types (i.e. in the case of
osm:venue:1000)
9 years ago
Julian Simioni
aabca1569c
Fix old reference to /doc endpoint
9 years ago
Julian Simioni
b2f3b54f66
Leave only geonames specific mapping in gejsonify helper
9 years ago
Julian Simioni
fa44effdac
Add geoname type to most layers
...
The Geonames dataset includes lots of different kinds of places, so add
them to the mapping.
9 years ago
Julian Simioni
882aad4916
Extract code to sanitize single id to separate function
9 years ago
Julian Simioni
8b1037d7c8
Separate real layers and alias layers into separate objects
9 years ago