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
Julian Simioni
57fb960471
Set centerpoint of viewport in search query
...
This simply reuses the focus:point:{lat|lon} variables, but sets them
using the centerpoint of the viewport. Eventually we should calculate a
radius and use that here.
9 years ago
Julian Simioni
06b44e5355
Disallow specifying both focus.point and focus.viewport
9 years ago
Julian Simioni
9dcc296a70
Add focus.viewport rect sanitizer to search
9 years ago
Julian Simioni
36925ca874
Remove bbox sanitizer functionality tests from search sanitizer tests
...
Full functionality testing for the bbox sanitizer should be in the
sanitizer/_geo_common tests. In the search sanitizer tests, only testing
the inclusion of the correct sanitizers, and the interactions between
them, really seems to make sense.
9 years ago
Julian Simioni
29a78db403
Add null island bounding box test
9 years ago
Julian Simioni
db8f98a51f
Remove completed @todo
9 years ago
Julian Simioni
b84652ba20
Refactor sanitize_coord parameter handling
...
This should help reduce duplication when passing values in, as the key
won't have to be specified twice. Also, the parameters are in the same
order as the other sanitize_* methods.
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
Stephen Hess
02792de2dc
added unit tests for verifying valid mapping between sources and layers
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