missinglink
ca0c51b0fd
don't strip single digits from query
9 years ago
missinglink
01a3233a7b
add a view to boost exact matches
9 years ago
missinglink
3051885119
Merge branch 'master' of github.com:pelias/api into missinglink
9 years ago
Julian Simioni
e29c9f300d
Merge pull request #524 from pelias/greenkeeper-pelias-query-6.3.0
...
Update pelias-query to version 6.3.0 🚀
9 years ago
greenkeeperio-bot
bf3d931640
chore(package): update pelias-query to version 6.3.0
...
https://greenkeeper.io/
9 years ago
Julian Simioni
ae5549dde8
Merge pull request #522 from pelias/admin_borough
...
Search borough when searching admin fields
9 years ago
Julian Simioni
f8af354e71
Base admin fields on placetypes
9 years ago
Julian Simioni
028ab1d889
Add search config settings for borough
9 years ago
missinglink
25ab63c3b3
change search analyzer to be more similar to what we had before the autocomplete_refactor milestone
9 years ago
Stephen K Hess
986c340f5b
Merge pull request #520 from pelias/switch-to-text-analyzer-package
...
switched to pelias-text-analyzer package since that responsibility ha…
9 years ago
Julian Simioni
25e9d6f026
Merge pull request #504 from pelias/use_new_express_send_status_method
...
Use new express sendStatus method
9 years ago
Stephen Hess
bd3b8e7bbe
switched to pelias-text-analyzer package since that responsibility has been moved to there
9 years ago
missinglink
30db744b87
Merge branch 'autocomplete_increase_slop' of github.com:pelias/api into missinglink
9 years ago
Julian Simioni
96199dc6d9
Merge pull request #512 from pelias/greenkeeper-pelias-model-4.0.0
...
Update pelias-model to version 4.0.0 🚀
9 years ago
Stephen K Hess
daec7e9ebb
Merge pull request #517 from pelias/fix-name-only-result-labels
...
fixed extraneous comma labels for results with only a `name`
9 years ago
Stephen K Hess
97ca8687d9
Merge pull request #514 from pelias/support-borough-layer
...
added `layer=borough` support for *all 5 boroughs* in data
9 years ago
Stephen Hess
9cdfce13c1
fixed extraneous comma labels for results with only a `name`
9 years ago
missinglink
b80efff0ea
Merge branch 'master' of github.com:pelias/api into missinglink
9 years ago
Stephen Hess
2c40827701
added `layer=borough` support for *all 5 boroughs* in data
9 years ago
greenkeeperio-bot
7876650581
chore(package): update pelias-model to version 4.0.0
...
http://greenkeeper.io/
9 years ago
missinglink
e40c9ef326
increase focus weight from 10->40 and simplify population/popularity subview
9 years ago
Julian Simioni
2e4cba0459
Merge pull request #507 from pelias/special-case-usa-for-labels
...
added special case for USA in labels
9 years ago
Julian Simioni
af187e6c8e
Merge pull request #505 from pelias/change-macrocountry-to-macrocounty
...
Change macrocountry to macrocounty, add macroregion
9 years ago
Stephen Hess
0076200728
added special case for USA in labels
...
if record is for literal United States, use the full name, otherwise use USA
9 years ago
Stephen Hess
c99fa9f0ef
added support for `macroregion`
9 years ago
Julian Simioni
fd529ccee9
Use new express sendStatus method
...
According to a message on the console:
```
express deprecated res.send(status): Use res.sendStatus(status) instead
middleware/options.js:12:9
```
9 years ago
Julian Simioni
bc39ddd970
Merge pull request #503 from pelias/fix_timeout_error
...
Fix timeout error handling
9 years ago
Julian Simioni
3c1d758229
Fix timeout error handling
...
Timeout errors come back from the Elasticsearch module as Error objects,
so instead of pushing the entire object onto the errors array, we should
just push the message.
I'm not sure if there are other cases where errors are just strings,
errors that aren't objects with a message property are handled as
before.
9 years ago
Diana Shkolnikov
c1b75ee72d
Merge pull request #502 from pelias/pelias-api-218
...
Fix address parsing without spaces after delimiters
9 years ago
Stephen Hess
8a54dbeef0
switched from `macrocountry` to `macrocounty`
9 years ago
Diana Shkolnikov
05f4374b0a
Add more tests without spaces
9 years ago
Stephen K Hess
6e2afb7dd4
Merge pull request #497 from pelias/simplify-label-generation
...
Refactored the label generation code to be simpler
9 years ago
Stephen Hess
f145f65dc0
Merge branch 'master' into simplify-label-generation
9 years ago
Diana Shkolnikov
37d261c047
Removed a new test when merging
9 years ago
Diana Shkolnikov
c415b96ead
Named admin_parts adminParts which caused problems
9 years ago
Diana Shkolnikov
c4f1abcee3
Merge pull request #468 from pelias/autocomplete_api
...
Autocomplete api
9 years ago
Stephen Hess
caa9745aaa
standardized on naming conventions
9 years ago
Stephen Hess
f783560224
split tests into logical units
9 years ago
Diana Shkolnikov
d6e51eff5c
Merge branch 'master' of github.com:pelias/api into pelias-api-218
9 years ago
Julian Simioni
6b9b72e08c
Merge pull request #500 from pelias/strict_unit_tests
...
Handle fatal errors in unit tests
9 years ago
Stephen Hess
c5626d6c5e
added `localadmin` for USA/GBR/default when `locality` isn't available
9 years ago
Stephen Hess
8d0b0e8780
switched to `_.compact` to remove `undefined` values
9 years ago
Julian Simioni
39e149b4d9
Merge pull request #499 from pelias/handle_address_flipping_with_no_admin_lookup
...
Do not apply local naming conventions to records with no admin info
9 years ago
Julian Simioni
d98973c21f
Handle fatal errors in unit tests
...
Due to the way our unit tests are run, a fatal error in the API code
that causes the node process to quit with an error will not be picked up
by `tap-dot`, and the unit tests will still return a passing status
code. This is due to the way status codes from pipes are handled by
default.
Fortunately, there is an ["unofficial bash strict mode"](http://redsymbol.net/articles/unofficial-bash-strict-mode/ )
that helps fix this sort of thing, and by running our unit tests with a
few tweaks we can ensure that any failure in the unit tests is captured.
9 years ago
Julian Simioni
e6e9c1c574
Do not apply local naming conventions to records with no admin info
...
There's no way to decide what to do, and without handling this case the
API will return an error.
9 years ago
missinglink
9a5d425cc8
Merge branch 'master' of github.com:pelias/api into missinglink
9 years ago
Julian Simioni
3e334788af
Merge pull request #486 from pelias/greenkeeper-elasticsearch-11.0.0
...
Update elasticsearch to version 11.0.0 🚀
9 years ago
greenkeeperio-bot
96af007044
chore(package): update elasticsearch to version 11.0.0
...
http://greenkeeper.io/
9 years ago
Stephen Hess
0870e30366
Refactored the label generation code to be simpler
...
Labels are now, outside US/CA/UK, just name+city+country.
Deduping now only occurs on the first 2 parts of the labels which fixes the "Luxembourg, Luxembourg" issue.
9 years ago
Diana Shkolnikov
78aedc3526
Merge branch 'master' of github.com:pelias/api into pelias-api-218
9 years ago