35 Commits (5365e808120ed5f4a941604051d4b9a959c35a82)

Author SHA1 Message Date
Peter Johnson c609ae3ccf http friendly status codes. resolves #321 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
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
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
Harish Krishna 96a21570be fixing layers related bug - adding a default_layers_set flag to clean obj. 9 years ago
Harish Krishna 1d24890b27 introducing target_layer that gets set part of input_parsing 9 years ago
Harish Krishna b9c4c673f5 Revert "removing searchType overhead" 9 years ago
Harish Krishna ee4aa1b97a removing searchType overhead 9 years ago
Harish Krishna 14c718bf1c passing in an object (req.clean) instead of a boolean. Plus updated test 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
Peter Johnson 0301fe8e74 search service 10 years ago
Harish Krishna 0a58bc9fea adding type only if clean.layers are not undefined 10 years ago
Harish Krishna ef95f5b67d adding type 10 years ago
Peter Johnson 17134105d5 geojsonify /search and /reverse FTW 10 years ago
Peter Johnson d6ae185cc1 validity check 10 years ago
Harish Krishna 15c63e405c adding a naive reverse api endpoint (also, shares most of the search controller). updated search query to include a filter and a sort (calculating a bounding box, given a lat/lon) 10 years ago
Harish Krishna 554bbc62d3 adding search api endpoint and test (lat/lon in the query pending) 10 years ago
Peter Johnson 4323b0030b progress commit 10 years ago
Peter Johnson f48239a7d4 current dev branch 10 years ago