Stephen Hess
bf62a1844b
added tests for verifying request retry behavior
...
limited retry behavior to errors with status 408 (request timeout). this also reduces reliance on unit/mock/backend and unit/mock/query.
8 years ago
Stephen Hess
995b6109e3
removed used variable
8 years ago
Stephen Hess
0121d3db2a
get # of retries from API config instead of ES client
8 years ago
Stephen Hess
67bba11001
removed object indirection in favor of function for easier proxyquire
8 years ago
Stephen Hess
e83c12cd0e
added test for early bail when errors are present
...
simplified conditionals using lodash `.get`
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
b2ebdd9f4b
moved require to top
8 years ago
Stephen Hess
40e6b1b3b7
renamed variable for clarity
8 years ago
Stephen Hess
055bbeacba
removed performance-now dependency
8 years ago
Stephen Hess
fe0457cb8b
removed maxRetries default
8 years ago
Stephen Hess
4ed4b8b357
added retry support for ES requests that timeout
8 years ago
missinglink
3a4d26077a
interpolation: fix: source_id mapping
8 years ago
missinglink
1216ca783d
deps: version bump pelias-config
8 years ago
Peter Johnson
d135596c80
service: interpolation: typo
8 years ago
Peter Johnson
f948ab26fc
service: interpolation: remove non-production host name
8 years ago
Peter Johnson
5c278b22e9
service: interpolation: handle backend timeouts
8 years ago
Peter Johnson
69be6e062a
service: interpolation: tests
8 years ago
Peter Johnson
33341b7c99
service: interpolation: tests
8 years ago
Peter Johnson
3881861886
typo
8 years ago
Peter Johnson
576d1a1809
interpolation: integration v1
8 years ago
Diana Shkolnikov
30590a41d3
fix: match_type and confidence score were not correct for certain queries
8 years ago
Stephen Hess
d5d08e8f45
moved esclient instantiation to function scope
8 years ago
Stephen Hess
330e7570d7
added reverse and autocomplete to queries object
8 years ago
Stephen Hess
8c249c26f4
initialize esclient in routes/v1, eliminating need for src/backend
8 years ago
Stephen Hess
53283eb178
actually remove debug this time
8 years ago
Stephen Hess
00234265e6
always inject backend instead of require'ing inside
8 years ago
Stephen Hess
948c6a9de5
enable all unit tests
8 years ago
Stephen Hess
5be3765ece
removed debug
8 years ago
Stephen Hess
511fbe41b4
removed unneeded require
8 years ago
Stephen Hess
0bd983e2cd
removed geopipes-elasticsearch-backend dependency
8 years ago
Stephen K Hess
1f49886cd9
feat: Merge pull request #763 from pelias/add-query-support-to-structured
...
Add query support to structured
8 years ago
Stephen Hess
992f2455d5
renamed `query` parameter to `venue`
8 years ago
Stephen Hess
de2ff8cad7
removed debug
8 years ago
Stephen Hess
e35ba28137
add proxyquire to tests for pelias-logger to swallow some error logging
8 years ago
Stephen Hess
a4b4e286d3
replaced map of singletons in backend with single singleton
8 years ago
Stephen K Hess
d5c251e61d
feat: Merge pull request #775 from pelias/add-configuration-validation
...
added configuration validation + tests
8 years ago
Stephen Hess
d8cffe4b9b
added configuration validation + tests
8 years ago
Julian Simioni
60d52b1985
Merge pull request #729 from pelias/adjust_autocomplete_focus_boost
...
Adjust autocomplete focus boost
8 years ago
Julian Simioni
abb4fa6113
Adjust autocomplete focus boost
...
This lowers the autocomplete focus boost from 40 to 15. The idea is
that, because the boost for population is 20, the focus can't possibly
override a popular city, but it can come close.
On our default dev build, no acceptance tests fail but the san francisco
autocomplete test now passes!
It's not clear if this fixes WOF venue issues yet, since the latest
build there failed :(
8 years ago
Diana Shkolnikov
df683c8092
Merge pull request #772 from pelias/empty-parsed-text-values
...
Empty values in parsed text caused exceptions
8 years ago
Diana Shkolnikov
4f999adce1
fix: empty values in parsed text caused exceptions
8 years ago
Stephen Hess
5a146d2efe
bumped query package version
8 years ago
Stephen Hess
bb285cf0a5
bumped query hash, updated test
8 years ago
Stephen Hess
8c896695d1
tied query version to specific hash, updated tests
8 years ago
Stephen Hess
16fc3bee66
synthesize query value from parameter
8 years ago
Stephen K Hess
e99da45b1d
Merge pull request #767 from pelias/add-mt-st-ft-normalizing
...
Add Mt/St/Ft normalizing
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