Julian Simioni
b547111d52
Remove latitude restrictions
9 years ago
Julian Simioni
396f27dcba
Mark previously invalid lat/lon test values as valid
...
These examples should all now pass with the lat/lon wrapping.
9 years ago
Severyn Kozak
9b77b4434f
Add more test-cases for invalid bbox values.
...
test/unit/sanitiser/search.js
-Add some more sanity-check test-cases to verify that bbox
validation is working as expected.
9 years ago
Severyn Kozak
762ef85f5c
Fix longitude-sanitization tests.
...
test/unit/sanitiser/(search, suggest, reverse).js
-Update/fix all of the tests that started failing as a result of
the removal of longitude sanitization in 90a7683
.
9 years ago
Julian Simioni
167547a6c1
Rename doc endpoint to place
9 years ago
Julian Simioni
2fce64f75a
Move files
9 years ago
Julian Simioni
4e74e9b681
Whitespace
9 years ago
Peter Johnson
776b0ce1e1
update unit test
9 years ago
Diana Shkolnikov
335733f1d5
Add deprecation notice to Beta version
...
Closes pelias/pelias#118
9 years ago
Diana Shkolnikov
49d439425e
Use address_weights.js in tests instead of hardcoding boost values
10 years ago
Diana Shkolnikov
743d8efa54
Remove proxyquire from adminField test
...
Add comments and refactor a bit more for clarity in query/search.js
10 years ago
Diana Shkolnikov
ab436d5dfb
Search query builder not checking all available admin values
...
Fixes #187
10 years ago
Peter Johnson
d8e86d5f17
phrase slop query modifications
10 years ago
Harish Krishna
e57d0b38ed
keys -> key
...
It's easy to misread and think keys contains a collection of some kind
10 years ago
Harish Krishna
b3d958fe5a
Revert "match the whole query with phrase.default"
...
This reverts commit 1c763eeb75
.
10 years ago
Harish Krishna
1c763eeb75
match the whole query with phrase.default
10 years ago
Harish Krishna
b57621c0a9
removing admin2 match from the full valid address match
10 years ago
Harish Krishna
d6bcc1b400
test search query for valid address full & partial
10 years ago
Harish Krishna
36cc6415d0
tests search
10 years ago
Harish Krishna
35105015b2
tests suggest sanitiser
10 years ago
Harish Krishna
e00c5aa2ad
Testing search sanitisers
...
all sanitiser tests should test sanitizing input, lat/lon etc..
query parsing is tested seperately so, using query_parser to set expected.parsed_input
10 years ago
Harish Krishna
95c0e7461d
TESTS!
10 years ago
Harish Krishna
708c24195d
adding admin_boost
10 years ago
Harish Krishna
f78f49d857
moving sort logic.. popularity then population first!
10 years ago
Harish Krishna
5a052627af
Revert "fix broken test"
...
This reverts commit 68dbf1bd2e
.
10 years ago
Harish Krishna
e5f783567f
remove all things that involved suggester including query mixer
...
keeping the suggest sanitizer for suggest/nearby wherein lat/lon are required
10 years ago
Harish Krishna
68dbf1bd2e
fix broken test
10 years ago
Harish Krishna
96a21570be
fixing layers related bug - adding a default_layers_set flag to clean obj.
10 years ago
Harish Krishna
5025b66a91
adding admin_weights instead of just boosting admin0
10 years ago
Harish Krishna
049a96efd6
flipping the popularity population order
10 years ago
Harish Krishna
b9c4c673f5
Revert "removing searchType overhead"
...
This reverts commit ee4aa1b97a
.
10 years ago
Harish Krishna
ee4aa1b97a
removing searchType overhead
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
Harish Krishna
050c11ec0b
just using a forked version of addressIt that focuses on US addresses (for now), modifying search queries and ignoring tests for now
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