92 Commits (ed2d8bea72f08113dcfb43789002d2b35b23147f)

Author SHA1 Message Date
Julian Simioni 0e8f4253c0 Return multiple results in place when osm node and way share an id 9 years ago
Peter Johnson c609ae3ccf http friendly status codes. resolves #321 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 a2cc31f142 Leave a note for future us 9 years ago
Julian Simioni 2505e92a62 Expect an array of types from _ids sanitiser 9 years ago
Diana Shkolnikov 2b22d611bd Fix lost confidence score 9 years ago
Peter Johnson 348d2e70e2 more conformance 9 years ago
Peter Johnson 7c46aed4a7 expose error messages in geojson 9 years ago
Peter Johnson 6ab81ffca5 set response data/meta on instead of 9 years ago
Peter Johnson e726636c3d merge with master 9 years ago
Julian Simioni 5d7f7ee4c0 Add /status controller 9 years ago
Julian Simioni f6fea21782 Use hasOwnProperty instead of comparing against undefined 9 years ago
Julian Simioni 6dbb4f8b08 Expose list of document types sent to Elasticsearch 9 years ago
Julian Simioni ade4ce8b17 Add types middleware 9 years ago
Julian Simioni 258fa4390e Move cmd.type setting logic to types helper 9 years ago
Julian Simioni 82d3a6603c Store sanitised types from layers parameter 9 years ago
Julian Simioni e71fb7cfd4 Whitespace 9 years ago
Diana Shkolnikov f7044d2435 Add content for `attribution` static endpoint 9 years ago
Julian Simioni 6f0ad678eb Add types middleware 9 years ago
Julian Simioni 1573f3a3fa Move cmd.type setting logic to types helper 9 years ago
Julian Simioni 4037c49c4b Store sanitised types from layers parameter 9 years ago
Julian Simioni fb0cf514e9 Whitespace 9 years ago
Diana Shkolnikov 562338635c Confidence score calculation 9 years ago
Diana Shkolnikov db0e063d8c Refactor controllers to be simple midddleware 9 years ago
Julian Simioni 2fce64f75a Move files 9 years ago
Julian Simioni 4e74e9b681 Whitespace 9 years ago
Harish Krishna e5f783567f remove all things that involved suggester including query mixer 10 years ago
Harish Krishna 96a21570be fixing layers related bug - adding a default_layers_set flag to clean obj. 10 years ago
Harish Krishna 1d24890b27 introducing target_layer that gets set part of input_parsing 10 years ago
Harish Krishna b9c4c673f5 Revert "removing searchType overhead" 10 years ago
Harish Krishna ee4aa1b97a removing searchType overhead 10 years ago
Severyn Kozak 29838e5b8c Move code that needs to run only once. 10 years ago
Diana Shkolnikov 99ee2d95a3 Change to readFileSync and update test to use proxyquire 10 years ago
Diana Shkolnikov 1d45b20268 Load markdown file into memory and check if client requested html 10 years ago
Harish Krishna 14c718bf1c passing in an object (req.clean) instead of a boolean. Plus updated test 10 years ago
Harish Krishna a91cb23ea4 adding a new file DOCS.md (same as https://github.com/pelias/api/wiki/API-Endpoints), modifying controller/index.js to return text/html instead of application/json by default. Using markdown module to convert MD to HTML. Fixing tests (removed test/jsonp.coffee) 10 years ago
Harish Krishna c99c5f712a adding a parameter called details (defaults to false for all endpoint except reverse) + fixing tests 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
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 ab71ccc4a5 id fix for /suggest/nearby 10 years ago
Peter Johnson e4496763ad id fix, formatting 10 years ago
Harish Krishna 407c32e782 suggest_near_me to /suggest/nearby and suggest_near_me.js to suggest_nearby.js 10 years ago
Harish Krishna 886aa498f5 bringing back vanilla suggest (suggestions based on lat/lon/zoom only) - calling it suggest_near_me and adding a new endpoint (plus tests) 10 years ago
Harish Krishna dbd800b97f maintain the order 10 years ago
Harish Krishna f1d13c1337 consolidating suggest_poi and suggest_admin into one suggest endpoint. fixing tests (more tests to come) 10 years ago
Peter Johnson 6ddbe86ac5 perform mget during suggest. requires suggester output to be a gid 10 years ago