Harish Krishna
|
77e6fe8aad
|
fix broken test
|
10 years ago |
Peter Johnson
|
ce611fd933
|
increase search radius to 500km
|
10 years ago |
Peter Johnson
|
e95c2efb54
|
resolves #139
|
10 years ago |
Peter Johnson
|
0cf282767a
|
remove exact_match script
|
10 years ago |
Peter Johnson
|
21d6585314
|
update sanitizer middleware
|
10 years ago |
Diana Shkolnikov
|
3548ca1584
|
Revert "Add acceptance tests to travis-ci scripts"
|
10 years ago |
Diana Shkolnikov
|
ad37ab6283
|
Add acceptance tests to travis-ci scripts
|
10 years ago |
Diana Shkolnikov
|
63ed198320
|
Details param not working as expected
Fixes #135
|
10 years ago |
Diana Shkolnikov
|
061f151bc8
|
Revert "Use multi_match in name.* for /search"
This reverts commit 3697627fb7 .
|
10 years ago |
Peter Johnson
|
4770f0660f
|
multi_match -> match
|
10 years ago |
Peter Johnson
|
60a02315ae
|
enable shingle matching
|
10 years ago |
Diana Shkolnikov
|
3697627fb7
|
Use multi_match in name.* for /search
|
10 years ago |
Severyn Kozak
|
1f25303523
|
Quote properties.
(query/sort, test/unit/query/search).js
-Address @dianashk's comment:
https://github.com/pelias/api/pull/113/files#r29764750
|
10 years ago |
Peter Johnson
|
ce96e1274a
|
try/catch extent()
|
10 years ago |
Diana Shkolnikov
|
0b44ba68c3
|
forgot to add test to commit
|
10 years ago |
Diana Shkolnikov
|
a68c7fae53
|
Add categories and address properties to result doc
|
10 years ago |
Diana Shkolnikov
|
6ae1a4f7df
|
fix comments and tests
|
10 years ago |
Diana Shkolnikov
|
8ac17d0cb2
|
Fix bbox parsing
|
10 years ago |
Diana Shkolnikov
|
8c22f33dc7
|
Add details sanitizer to suggest/coarse
|
10 years ago |
Diana Shkolnikov
|
7b5a2fafb9
|
Change query to use `terms` and add code coverage stats
|
10 years ago |
Diana Shkolnikov
|
45ba29cc54
|
Add categories param to /reverse
|
10 years ago |
Diana Shkolnikov
|
99ee2d95a3
|
Change to readFileSync and update test to use proxyquire
|
10 years ago |
Diana Shkolnikov
|
4f1b75ce94
|
Fix test name
|
10 years ago |
Diana Shkolnikov
|
1d45b20268
|
Load markdown file into memory and check if client requested html
|
10 years ago |
Severyn Kozak
|
5b389833bd
|
Test a sort() call with a params object without an input.
See https://github.com/pelias/api/pull/113/files#r28972709.
|
10 years ago |
Severyn Kozak
|
d7c4409e20
|
Fix failing tests.
test/unit/query/(search, sort).js
-Fix the tests that started failing as a result of 144b72c .
|
10 years ago |
Harish Krishna
|
14c718bf1c
|
passing in an object (req.clean) instead of a boolean. Plus updated test
|
10 years ago |
Harish Krishna
|
a91cb23ea4
|
adding a new file DOCS.md (same as https://github.com/pelias/api/wiki/API-Endpoints), modifying controller/index.js to return text/html instead of application/json by default. Using markdown module to convert MD to HTML. Fixing tests (removed test/jsonp.coffee)
|
10 years ago |
Harish Krishna
|
7667a898dd
|
param layers should be called layers consistently across the API
|
10 years ago |
Harish Krishna
|
aae256c93f
|
category scoring - weights are all hardcoded to 10 currently - requires to be tweaked
|
10 years ago |
Harish Krishna
|
71499cd201
|
flipping default behavior - by default its details=true
|
10 years ago |
Harish Krishna
|
af45b4743c
|
oh so many more tests!
|
10 years ago |
Harish Krishna
|
c78c8e2dbe
|
only true or 1 is valid
|
10 years ago |
Harish Krishna
|
ea78b8268a
|
more tests: testing falsy and truthy params
|
10 years ago |
Harish Krishna
|
acfa8e1f20
|
testing geojsonify when adddress_details flag is set to false (by default)
|
10 years ago |
Harish Krishna
|
0e9af3b9b8
|
adding controller tests to test details=true test case
|
10 years ago |
Harish Krishna
|
c99c5f712a
|
adding a parameter called details (defaults to false for all endpoint except reverse) + fixing tests
|
10 years ago |
Harish Krishna
|
9502ab8854
|
fixing failing tests
|
10 years ago |
Harish Krishna
|
5094ecb25e
|
adding 'locality', 'local_admin' to the list of layers (part of admin alias) plus tests
|
10 years ago |
Harish Krishna
|
f13f1cdf2c
|
tests
|
10 years ago |
Harish Krishna
|
5b34767e8e
|
tests for sanitizer/search (tests optional geo basically in addition to the usual stuff - suggest/search sanitizer tests should eventually be merged)
|
10 years ago |
Harish Krishna
|
e586b49d1d
|
tests - that check if the layers are being set correctly for suggesters and using query mixers right
|
10 years ago |
Harish Krishna
|
ec2507f155
|
tests: reverse sanitizers (latlon is required, size defaults to 1, supports layers)
|
10 years ago |
Harish Krishna
|
28e3d3943e
|
consistent naming convention
|
10 years ago |
Peter Johnson
|
ff757decb4
|
deprecate 'type' property, see PR notes
|
10 years ago |
Harish Krishna
|
2d861aea7f
|
boosting admin0 values
|
10 years ago |
Harish Krishna
|
79f33dee96
|
adding popularity to sort scoring function list
|
10 years ago |
Harish Krishna
|
743c825b41
|
just using weights from pelias-suggester-pipeline (reducing dependency issues with another repo)
|
10 years ago |
Harish Krishna
|
6c802dfa1d
|
testing sort part of the query
|
10 years ago |
Harish Krishna
|
5f30559680
|
testing inputs with comma
|
10 years ago |