Diana Shkolnikov
562338635c
Confidence score calculation
...
Fixes pelias/pelias#120
9 years ago
Julian Simioni
63d0447b25
Update ciao tests for /v1
9 years ago
Diana Shkolnikov
1d8db6e5d1
Change type back to layer... oooops
9 years ago
Diana Shkolnikov
1b4b401a66
More property renaming/mapping
...
* Rename `layer` to `type` and `source`
* Rename `address` block and merge properties to main `geocoding` namespace
9 years ago
Diana Shkolnikov
db0e063d8c
Refactor controllers to be simple midddleware
...
Refactor search and doc controllers to allow for post-processing middleware
to handle geojson and response sending. Allows for a much more flexible routing scheme.
9 years ago
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
49d439425e
Use address_weights.js in tests instead of hardcoding boost values
9 years ago
Diana Shkolnikov
743d8efa54
Remove proxyquire from adminField test
...
Add comments and refactor a bit more for clarity in query/search.js
9 years ago
Diana Shkolnikov
ab436d5dfb
Search query builder not checking all available admin values
...
Fixes #187
9 years ago
Peter Johnson
d8e86d5f17
phrase slop query modifications
9 years ago
Harish Krishna
e57d0b38ed
keys -> key
...
It's easy to misread and think keys contains a collection of some kind
9 years ago
Harish Krishna
b3d958fe5a
Revert "match the whole query with phrase.default"
...
This reverts commit 1c763eeb75
.
9 years ago
Harish Krishna
1c763eeb75
match the whole query with phrase.default
9 years ago
Harish Krishna
b57621c0a9
removing admin2 match from the full valid address match
9 years ago
Harish Krishna
d6bcc1b400
test search query for valid address full & partial
9 years ago
Harish Krishna
36cc6415d0
tests search
9 years ago
Harish Krishna
35105015b2
tests suggest sanitiser
9 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
9 years ago
Harish Krishna
95c0e7461d
TESTS!
9 years ago
Harish Krishna
708c24195d
adding admin_boost
9 years ago
Harish Krishna
f78f49d857
moving sort logic.. popularity then population first!
9 years ago
Harish Krishna
5a052627af
Revert "fix broken test"
...
This reverts commit 68dbf1bd2e
.
9 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
9 years ago
Harish Krishna
68dbf1bd2e
fix broken test
9 years ago
Harish Krishna
96a21570be
fixing layers related bug - adding a default_layers_set flag to clean obj.
9 years ago
Harish Krishna
5025b66a91
adding admin_weights instead of just boosting admin0
9 years ago
Harish Krishna
049a96efd6
flipping the popularity population order
9 years ago
Harish Krishna
b9c4c673f5
Revert "removing searchType overhead"
...
This reverts commit ee4aa1b97a
.
9 years ago
Harish Krishna
ee4aa1b97a
removing searchType overhead
9 years ago
Peter Johnson
ce611fd933
increase search radius to 500km
9 years ago
Peter Johnson
e95c2efb54
resolves #139
9 years ago
Peter Johnson
0cf282767a
remove exact_match script
9 years ago
Peter Johnson
21d6585314
update sanitizer middleware
9 years ago
Diana Shkolnikov
3548ca1584
Revert "Add acceptance tests to travis-ci scripts"
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
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