Stephen Hess
58701f0169
return do-nothing PiP lookup function if config lacks `pipService`
...
- added URI-formatted `api.pipService` config support in schema
- added predicate that determines whether pipService is enabled/disabled
- reworked should-execute conditions for non-coarse reverse
8 years ago
Stephen Hess
52a6ec68ff
added support for coarse reverse geocoding
...
several things are in this commit:
- coarse reverse controller / pip service
- inject "conditional execute" predicate into search service to shortcut execution conditions
- added coarse reverse controller to precede standard reverse controller
- lots of tests!
8 years ago
Stephen Hess
bfecda2c07
refactored search service tests to inline mock callbacks
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
33341b7c99
service: interpolation: tests
8 years ago
Peter Johnson
576d1a1809
interpolation: integration v1
8 years ago
Stephen Hess
8c249c26f4
initialize esclient in routes/v1, eliminating need for src/backend
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
Peter Johnson
72ec68f4c2
additional backend error logging
8 years ago
Peter Johnson
1451e9038e
change all log labels to 'api'
8 years ago
Stephen Hess
d3febe49cc
moved location of `matched_queries` to correct place
8 years ago
Stephen Hess
8d532adb3f
added support for `_matched_queries` in ES hits
...
this will make it easier to sort thru results from FallbackQuery by knowing which query was called
8 years ago
Julian Simioni
ef78b2e0fd
Filter source and layer by new fields
...
This is functionally the same code as before, except that it uses the
new source and layer mapping.
9 years ago
Peter Johnson
b5b3c41ba1
remove microtime module
9 years ago
Diana Shkolnikov
562338635c
Confidence score calculation
...
Fixes pelias/pelias#120
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
Peter Johnson
87018d88f6
add logging for elasticsearch query execution time
10 years ago
Severyn Kozak
51ed1507df
Log the time spent in each elasticsearch query.
10 years ago
Harish Krishna
bcf823c519
cleanup + tests
10 years ago
Harish Krishna
fc7f6cb768
removing suggest_nearby, replacing suggest with suggest_multiple, commenting out a couple of tests for right now.
10 years ago
Harish Krishna
9afed3caef
adding query mixer for suggest and suggest/nearby
10 years ago
Harish Krishna
2b2414d879
using multiple suggesters but one query
10 years ago
Harish Krishna
69a13e9105
fixing all the js lint related issues (lintified)
10 years ago
Peter Johnson
6efa0aa510
expose id/type/layer
10 years ago
Peter Johnson
e24a467e96
suggest service
10 years ago
Peter Johnson
3ea90dcf4d
typo
10 years ago
Peter Johnson
0301fe8e74
search service
10 years ago
Peter Johnson
2ee32f1892
mget service
10 years ago