29 Commits (11b39b3f54405287bb23971e8667d3363b44819d)

Author SHA1 Message Date
Stephen Hess d5ff417bf5 removed require's for mock backend/query 8 years ago
Stephen Hess 96f9d12ff5 rewrote tests to proxyquire service/search to reduce complexity 8 years ago
Stephen Hess c7b83e96d5 added tests for case where error is a string, not an object 8 years ago
Stephen Hess bf62a1844b added tests for verifying request retry behavior 8 years ago
Stephen Hess e83c12cd0e added test for early bail when errors are present 8 years ago
Stephen Hess 8c249c26f4 initialize esclient in routes/v1, eliminating need for src/backend 8 years ago
Diana Shkolnikov 9ff383cc2b change the query module interfaces back to simple functions 8 years ago
Diana Shkolnikov d5ff072e9e update tests 8 years ago
Stephen Hess cc5c9f8468 disable calling GeodisambiguationQuery 8 years ago
Stephen Hess 2a9c25f8c4 added condition that `res.data` must be non-empty to return early 8 years ago
Stephen Hess 4952a0ed2b added condition to exit early if there are already results in `res` 8 years ago
Stephen Hess f55aed2b1a finished master rebase, checking in all-but-tests commit 8 years ago
Julian Simioni 2557c68368
Use index name from config in controllers 8 years ago
Julian Simioni fabf978ec1
Whitespace 8 years ago
Julian Simioni 3c1d758229
Fix timeout error handling 9 years ago
Diana Shkolnikov aff146aec3 Fix local naming convention and confidence score middlewares 9 years ago
Diana Shkolnikov af8044ef29 Fix all unit tests 9 years ago
Diana Shkolnikov 2b22d611bd Fix lost confidence score 9 years ago
Peter Johnson 348d2e70e2 more conformance 9 years ago
Diana Shkolnikov db0e063d8c Refactor controllers to be simple midddleware 9 years ago
Harish Krishna b9c4c673f5 Revert "removing searchType overhead" 9 years ago
Harish Krishna ee4aa1b97a removing searchType overhead 9 years ago
Harish Krishna 0e9af3b9b8 adding controller tests to test details=true test case 10 years ago
Harish Krishna c99c5f712a adding a parameter called details (defaults to false for all endpoint except reverse) + fixing tests 10 years ago
Peter Johnson ff757decb4 deprecate 'type' property, see PR notes 10 years ago
Harish Krishna ff9e9973fc switching searchType from the default 'query_then_fetch' to 'dfs_query_then_fetch' because we have multiple shards in prod http://www.elasticsearch.org/blog/understanding-query-then-fetch-vs-dfs-query-then-fetch/ 10 years ago
Peter Johnson 6efa0aa510 expose id/type/layer 10 years ago
Peter Johnson 27e2c4e5b8 migrate outputGenerator from pelias/suggester-pipeline 10 years ago
Peter Johnson 17134105d5 geojsonify /search and /reverse FTW 10 years ago