Stephen Hess
71394d4139
added comment about when geonames warning can go away
8 years ago
Stephen Hess
234f9f9738
fixed bug where _geonames_warnings was throwing exception on undefined clean.parsed_text
...
refactored a bit for clarity
8 years ago
Stephen Hess
8ebae9a2ae
added warnings/errors when sources includes geonames
8 years ago
Diana Shkolnikov
fe38d2336d
feat: allow postalcode-only structured queries
8 years ago
Stephen Hess
f1e5edb4cf
added back logging statement for fallback queries
...
added unit tests to cover conditionals, simplified conditional
8 years ago
Stephen Hess
53283eb178
actually remove debug this time
8 years ago
Stephen Hess
5be3765ece
removed debug
8 years ago
Stephen Hess
992f2455d5
renamed `query` parameter to `venue`
8 years ago
Stephen Hess
16fc3bee66
synthesize query value from parameter
8 years ago
Stephen Hess
9e569bae17
renamed mt/st/ft sanitizer to something more generic
8 years ago
Stephen Hess
183f824577
fix comments grammar
8 years ago
Stephen Hess
8f6d820b43
streamlined standardizer
...
more accurate since it's smarter about where to replace periods
8 years ago
Stephen Hess
35ab050341
transliterate mt/ft/saint/sainte into mount/fort/st/ste
...
respectively
8 years ago
Peter Johnson
f087a5badc
improvements for handling non-scalar request params. fixes #744
8 years ago
Peter Johnson
1451e9038e
change all log labels to 'api'
8 years ago
Stephen Hess
dd448355dc
added comments, made things `const`
8 years ago
Stephen Hess
be2a336038
updated naming from component to structured
8 years ago
Stephen Hess
75366f98c4
added text-analyzer call to parse supplied `address` field
8 years ago
Stephen Hess
c1a618e4fb
standardize on non-US-influenced parameter names
...
switched from `city` and `state` to `locality` and `region`, respectively
8 years ago
Stephen Hess
0c54f502af
added iso2->iso3 conversion to /search endpoint
8 years ago
Stephen Hess
6f04f67d9b
consider postalcode-only input an error condition
8 years ago
Stephen Hess
b18cb234b2
added sanitizer to convert country iso2->iso3
8 years ago
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
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
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 Hess
371f1e550e
use `is2` and `is3` to avoid iterating entire country list
8 years ago
Julian Simioni
7f3e7df505
Add boundary.rect to geo_autocomplete sanitizer
8 years ago
Stephen Hess
a62581ddd6
actually removed last of `sanitise` references
8 years ago
Stephen Hess
3763d0b503
renamed `sanitise` -> `sanitize`
8 years ago