125 Commits (5101d802ab8db3273a2379156a8dba764c6947ca)

Author SHA1 Message Date
Diana Shkolnikov 7b5a2fafb9 Change query to use `terms` and add code coverage stats 10 years ago
Diana Shkolnikov 45ba29cc54 Add categories param to /reverse 10 years ago
Diana Shkolnikov 99ee2d95a3 Change to readFileSync and update test to use proxyquire 10 years ago
Diana Shkolnikov 4f1b75ce94 Fix test name 10 years ago
Diana Shkolnikov 1d45b20268 Load markdown file into memory and check if client requested html 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 7667a898dd param layers should be called layers consistently across the API 10 years ago
Harish Krishna 9502ab8854 fixing failing tests 10 years ago
Harish Krishna 5094ecb25e adding 'locality', 'local_admin' to the list of layers (part of admin alias) plus tests 10 years ago
Harish Krishna f13f1cdf2c tests 10 years ago
Harish Krishna 5b34767e8e tests for sanitizer/search (tests optional geo basically in addition to the usual stuff - suggest/search sanitizer tests should eventually be merged) 10 years ago
Harish Krishna e586b49d1d tests - that check if the layers are being set correctly for suggesters and using query mixers right 10 years ago
Harish Krishna ec2507f155 tests: reverse sanitizers (latlon is required, size defaults to 1, supports layers) 10 years ago
Harish Krishna 28e3d3943e consistent naming convention 10 years ago
Peter Johnson ff757decb4 deprecate 'type' property, see PR notes 10 years ago
Harish Krishna 2d861aea7f boosting admin0 values 10 years ago
Harish Krishna 79f33dee96 adding popularity to sort scoring function list 10 years ago
Harish Krishna 743c825b41 just using weights from pelias-suggester-pipeline (reducing dependency issues with another repo) 10 years ago
Harish Krishna 6c802dfa1d testing sort part of the query 10 years ago
Harish Krishna 5f30559680 testing inputs with comma 10 years ago
Harish Krishna 9013b4484e fixing tests 10 years ago
Harish Krishna aa721b8749 moving groovy scripts to a file on disk @ elasticsearch/config/scripts to avoid dynamic script loading look at http://www.elasticsearch.org/blog/running-groovy-scripts-without-dynamic-scripting/ and https://github.com/pelias/scripts 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 1a740f16df sorting function based on population and weights plus tests 10 years ago
Harish Krishna 5d7edd00e8 tests. adding sort to queries (although this should probably be decoupled from the api or the sort logic should be moved from elasticsearchbackend into api) 10 years ago
Harish Krishna 2f89cbd528 tests that test optional lat/lon for search and suggest endpoints 10 years ago
Harish Krishna 827a93be11 Revert "adding geoname to coarse [experimental]" 10 years ago
Harish Krishna 2424b0c9e2 adding geoname to coarse [experimental] 10 years ago
Harish Krishna 650e88d79f making geo bias optional - first pass with all tests passing 10 years ago
Harish Krishna a67f640acb adding address type to layers by default 10 years ago
Harish Krishna 103ed5f006 using alias layer names in queryMixer and expanding them in helper/layers.js (keeping things DRY) 10 years ago
Harish Krishna 68aabd7647 tests 10 years ago
Peter Johnson 9d10f0fa49 add osm address type 10 years ago
Peter Johnson 293465b90c add address alias and openaddresses type. change default layers to 'poi,admin'. add comments. update tests 10 years ago
Harish Krishna 3973039f19 min/max lat/lon to form bbox from the input params 10 years ago
Harish Krishna 8a7b41edc6 test bbox sanitization 10 years ago
Harish Krishna b6d1f1d497 test valid search query without bbox (falls back to 50km distance query) 10 years ago
Harish Krishna 245abd7809 elasticsearch-backend now only accepts vertices and not latlon as properties 10 years ago
Harish Krishna ebf162f29e search with optional bbox - initial commit +tests 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 69a13e9105 fixing all the js lint related issues (lintified) 10 years ago
Peter Johnson bb04a01b72 checkout test from branch:fuzzy to get master build passing 10 years ago
Peter Johnson 400c28769d add test for USA output schema 10 years ago
Peter Johnson cb63791669 update output schema for GBR 10 years ago
Peter Johnson 109758b25e add geojson bbox 10 years ago
Harish Krishna 49a63f1861 Documentation and some ciao tests 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