89 Commits (2164d7d696970fdfacf6b9246ef1acb58d54ea06)

Author SHA1 Message Date
Stephen Hess c602794ed8 added predicate for finding results at given layers 8 years ago
Stephen Hess c5f16e32ad added support for `boundary.rect` and `boundary.circle` 8 years ago
Stephen Hess ba7a81123c added support for popularity from placeholder 8 years ago
Stephen Hess 2ad3bec3b4 added guard clause for string/negative population 8 years ago
Stephen Hess d1b87235c4 pull population from placeholder repsonse 8 years ago
Stephen Hess a6f6d3d6cd filter out results and hierarchies that don't match boundary.country 8 years ago
Stephen Hess 83101505c0 removed support for alpha3 since it's not used anywhere 8 years ago
Stephen Hess 8a14dcc48a guard clauses, more tests, code cleanup 8 years ago
Diana Shkolnikov c1daf18d68 fix tests 8 years ago
Stephen Hess b04309c533 added conversion to number before finite check 8 years ago
Stephen Hess 5734d35656 filter synthesized docs on boundary.country 8 years ago
Stephen Hess 4a8711017e filter placeholder results by requested layers 8 years ago
Stephen Hess 1f6fefb3eb converted placeholder controller to use generic service 8 years ago
Stephen Hess 39a5312140 added guard clauses for bbox and centroid 8 years ago
Stephen Hess fa95fe510a handle case where result has data but no lineage 8 years ago
Stephen Hess 539edf09b7 added better error handling 8 years ago
Stephen Hess 8a7ba3d8de added support for do_not_track header 8 years ago
Stephen Hess f14400ebce added placeholder service support to API for admin-only queries 8 years ago
Stephen Hess d80d34cfd9 actually pass do-not-track to service 8 years ago
Stephen Hess f06704985e renamed predicates to be more accurate 8 years ago
Stephen Hess 0d1d67d6a2 added street layer 8 years ago
Stephen Hess 58701f0169 return do-nothing PiP lookup function if config lacks `pipService` 8 years ago
Stephen Hess 52a6ec68ff added support for coarse reverse geocoding 8 years ago
Stephen Hess 901b6826ca updated wording of test names and comments 8 years ago
Stephen Hess ac0776e2be match error handling to controller/search 8 years ago
Stephen Hess 6425cc6444 added request retries for ES request timeouts 8 years ago
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
Julian Simioni ef78b2e0fd Filter source and layer by new fields 9 years ago
Julian Simioni 0e8f4253c0 Return multiple results in place when osm node and way share an id 9 years ago
Stephen Hess cb7d22df91 switched ES lookup field from "type" -> "_type", fixes issue with /place lookup on Eiffel Tower gid 9 years ago
Julian Simioni 2505e92a62 Expect an array of types from _ids sanitiser 9 years ago
Julian Simioni aabca1569c Fix old reference to /doc endpoint 9 years ago
Diana Shkolnikov 2b22d611bd Fix lost confidence score 9 years ago
Peter Johnson 348d2e70e2 more conformance 9 years ago