Julian Simioni
aa896dab93
Merge branch 'unit-tests-for-type-mapping-helper'
9 years ago
Stephen Hess
4be987045e
updated tests to reflect master type_mapping
9 years ago
Stephen Hess
44f335bbe0
Merge branch 'master' into unit-tests-for-type-mapping-helper
9 years ago
Stephen Hess
0a142a99d9
Merge branch 'master' into unit-tests-for-type-mapping-helper
9 years ago
Grant Heffernan
a299106a2c
circle.yml: automate api deployments for prod/prod_build
9 years ago
Stephen Hess
a26bf0b9a8
switched to Math.max to avoid the explicit conditional
9 years ago
Stephen Hess
dcadc7832e
add focus:scale to /search requests with just viewport.*, calculated from bounding box diagonal, minimum of 1
9 years ago
Peter Johnson a.k.a. insertcoffee
3629a49dc1
Merge pull request #322 from pelias/remove_cache_control_headers
...
remove cache control headers
9 years ago
Peter Johnson
a209024143
remove cache control headers
9 years ago
Peter Johnson a.k.a. insertcoffee
a77b7045fe
Merge pull request #319 from pelias/remove_microtime
...
remove microtime module
9 years ago
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
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