Stephen Hess
91e0520f87
removed `query` parameter support
...
as it's not required functionality right now
modified error message to be joined list of available parameters instead of hardcoded string
8 years ago
Stephen Hess
8ae5b5c6f7
treat country and more granular than dependency
...
this is to ensure that `country=united states` returns the country before any of the US dependencies that happen to contain "United States"
8 years ago
Stephen Hess
d1bb1fd944
added borough support
8 years ago
Stephen Hess
e342a6b21d
switched to `const` where appropriate
8 years ago
Stephen Hess
307fce8079
started conversion to ES6
8 years ago
Stephen Hess
6963cb43f0
added label assignment to component route
8 years ago
Stephen Hess
d2c32b5afd
added unit tests for component_geocoding query
...
started folder structure for fixture as it's getting unwieldy
8 years ago
Stephen Hess
08f4aa4b95
renamed files to be more indicative of what the function is
8 years ago
Stephen Hess
d03a8c4586
added support for component geocoding
...
- created `/component` route
- broke out trimByGranularityComponent but could conceivably be combined with existing
- added `address` support to text_parser
- added `component` sanitizer wrapper
8 years ago
Stephen Hess
8179812282
added sanitizer for synthesizing an analysis from parameters
8 years ago
Stephen K Hess
5f7056344f
Merge pull request #725 from pelias/optimize-boundary-country-sanitizer
...
use `is2` and `is3` to avoid iterating entire country list
8 years ago
Julian Simioni
128a5e2f07
Merge pull request #724 from pelias/greenkeeper-pelias-query-8.9.0
...
Update pelias-query to version 8.9.0 🚀
8 years ago
Stephen Hess
371f1e550e
use `is2` and `is3` to avoid iterating entire country list
8 years ago
greenkeeperio-bot
2b644b1ab3
chore(package): update pelias-query to version 8.9.0
...
https://greenkeeper.io/
8 years ago
Julian Simioni
bec9c1c3a0
Merge pull request #717 from pelias/greenkeeper-pelias-text-analyzer-1.5.0
...
Update pelias-text-analyzer to version 1.5.0 🚀
8 years ago
Julian Simioni
702f5266ed
Merge pull request #710 from pelias/greenkeeper-elasticsearch-12.0.1
...
Update elasticsearch to version 12.0.1 🚀
8 years ago
Julian Simioni
ad21527ecd
Merge pull request #702 from pelias/update-ciao-tests-for-libpostal
...
Update ciao test parsed_text expectations for libpostal
8 years ago
greenkeeperio-bot
dbaabbef89
chore(package): update pelias-text-analyzer to version 1.5.0
...
https://greenkeeper.io/
8 years ago
greenkeeperio-bot
e9bb93ff2d
chore(package): update elasticsearch to version 12.0.1
...
https://greenkeeper.io/
8 years ago
Julian Simioni
7c77036738
Merge pull request #716 from pelias/greenkeeper-pelias-config-2.3.1
...
Update pelias-config to version 2.3.1 🚀
8 years ago
greenkeeperio-bot
6447fb1211
chore(package): update pelias-config to version 2.3.1
...
https://greenkeeper.io/
8 years ago
Julian Simioni
bb2e2d1f74
Merge pull request #713 from pelias/eshint6
...
tell eshint we allow ECMA6 functions
8 years ago
Peter Johnson
6d58898bae
tell eshint we allow ECMA6 functions
8 years ago
Stephen K Hess
c7c7fb2265
Merge pull request #705 from pelias/enable-libpostal-city-state
...
enabled city/state only inputs for fallback queries
8 years ago
Stephen Hess
df6bd50645
unrolled loop tests
8 years ago
Stephen Hess
916e7d6736
made `locality` and `localadmin` equivalent in fallback scoring
8 years ago
Julian Simioni
098a517455
Merge pull request #707 from pelias/greenkeeper-pelias-labels-1.5.0
...
Update pelias-labels to version 1.5.0 🚀
8 years ago
greenkeeperio-bot
e221283b36
chore(package): update pelias-labels to version 1.5.0
...
https://greenkeeper.io/
8 years ago
Stephen Hess
5dedcf5032
changed method name
8 years ago
Stephen Hess
acb669b7b3
added support for optional country
8 years ago
Stephen Hess
c3451bbec0
added city input/results support
...
just uses the original scoring, which is open to debate
8 years ago
Stephen Hess
54b70c7d3c
removed lodash requirement
8 years ago
Stephen Hess
b8bd6c1252
enabled city/state only inputs for fallback queries
8 years ago
Stephen K Hess
1a89e1f8ad
feat: Merge pull request #680 from pelias/inject-label-generator
...
Inject label generator
8 years ago
Stephen Hess
ba1c43241d
bumped labels version to 1.4.0
8 years ago
Julian Simioni
510f0095c1
feat: Merge pull request #703 from pelias/autocomplete-boundary-rect
...
Add boundary.rect (bounding box) parameter to /v1/autocomplete
8 years ago
Stephen Hess
d230367f02
changed the variable passed to the label generator
8 years ago
Stephen Hess
2e592335bc
bumped labels module version
8 years ago
Julian Simioni
5f70110027
Add autocomplete boundary.rect ciao test
8 years ago
Stephen Hess
5be06ac1fa
removed whitespace
8 years ago
Julian Simioni
3ae60fb3f8
Update ciao test parsed_text expectations for libpostal
8 years ago
Julian Simioni
7f3e7df505
Add boundary.rect to geo_autocomplete sanitizer
8 years ago
Julian Simioni
78cc4a5de3
Add boundary.rect handling to query/autocomplete
8 years ago
Stephen Hess
ff8fdf486f
moved label assign to before geocodeJSON for all routes
8 years ago
Stephen Hess
d35f40f372
switched `label` to property-to-copy
8 years ago
Stephen Hess
942a8ff0a3
removed redundant for pelias-labels
8 years ago
Stephen Hess
34d9893018
removed unused parameter
8 years ago
Stephen Hess
c8d32ddd14
moved `require`'d pelias-labels to "global"
8 years ago
Stephen Hess
beb309ca07
moved assignLabels to fire before geojsonify
8 years ago
Stephen Hess
94eaafd39a
setup labelGenerator to have a default
8 years ago