Peter Johnson
481a65a4f9
population twice as important as popularity
9 years ago
Peter Johnson
cb679888ff
better population and popularity boosting
9 years ago
Peter Johnson a.k.a. insertcoffee
bfd2720681
Merge pull request #336 from pelias/remove_docs
...
remove generated ciao docs
9 years ago
Peter Johnson
ea7a177934
remove generated ciao docs
9 years ago
Peter Johnson
56591abe97
remove all references to tiebreaking groovy scripts
9 years ago
Julian Simioni
05a840753d
Add comment for confidence score function
9 years ago
Peter Johnson a.k.a. insertcoffee
a03a18ef67
Merge pull request #333 from pelias/http_status_codes
...
http friendly status codes
9 years ago
Julian Simioni
cc9cdfca22
Add link to GitHub documentation on /v1/ "landing page"
...
Fixes #234
9 years ago
Peter Johnson
c609ae3ccf
http friendly status codes. resolves #321
9 years ago
Peter Johnson a.k.a. insertcoffee
38b53e7264
Merge pull request #331 from pelias/fix_ciao_tests
...
fix ciao tests
9 years ago
Peter Johnson
74c9f2e42d
merge master
9 years ago
Peter Johnson a.k.a. insertcoffee
4241cdbc85
Merge pull request #330 from pelias/clean-up-ciao-tests
...
Fix low hanging fruit in ciao tests
9 years ago
Peter Johnson
51858781a9
fix ciao tests
9 years ago
Julian Simioni
ab006054f8
Fix low hanging fruit in ciao tests
...
Quite a few of our tests simply had old error messages as expectations,
or expected output in an array that was correct but in the wrong order.
Those are all fixed.
9 years ago
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