279 Commits (d3ff5a57de06d3ce3bb464d837b98ce53f401b74)

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
Severyn Kozak f477db140a Pass params to sort(), addressing https://github.com/pelias/api/pull/113#discussion_r28972496. 10 years ago
Severyn Kozak f9670bf7e4 Use is-object, addressing https://github.com/pelias/api/pull/113/files#r28972145. 10 years ago
Severyn Kozak 144b72cb16 Boost results with exact text matches when _score ties. 10 years ago
Harish Krishna aae256c93f category scoring - weights are all hardcoded to 10 currently - requires to be tweaked 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 898896bc24 giving request layers higher precedence (compared to the layers specified in queryMixer) 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 4e9b5502a2 using population var 10 years ago
Harish Krishna a427c058f7 adding admin1_abbr and admin2 to the admin_fields array 10 years ago
Harish Krishna 2127ebe258 switching to bool with a 'must' match (AND) and a few 'should's (OR) 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 b4f4daafcf using suggester-pipeline instead of pelias-model 10 years ago
Harish Krishna 1a740f16df sorting function based on population and weights plus tests 10 years ago
Harish Krishna 91abc11f29 adding a line break for readability 10 years ago
Harish Krishna a4bd350f2e using elasticsearch-backend#centroid-optional queries for search 10 years ago
Harish Krishna 2e1ce6f293 context suggester is broken (ES v 2.0.0 will possibly have a fix) https://github.com/elasticsearch/elasticsearch/issues/6444 10 years ago
Harish Krishna 650e88d79f making geo bias optional - first pass with all tests passing 10 years ago
Harish Krishna 86eb14d2e6 making sure multiple suggesters and their index are not overwritten 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
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 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 4644ed1ad6 simplifying the query building 10 years ago
Harish Krishna 2b2414d879 using multiple suggesters but one query 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
Harish Krishna a8642cd97d optional precision param 10 years ago
Harish Krishna a824d209aa play with precisions 10 years ago
Harish Krishna 51f23c4410 expand/ reverse size 10 years ago
Peter Johnson 6558cc9289 progress commit 10 years ago
Harish Krishna 0abe345c1c updating getPrecision() to handle null/undefined/empty zoom params 10 years ago
Harish Krishna b4683fafb3 test precision (and while writing the test, caught/fixed the bug where zoom=4 ftw) 10 years ago
Harish Krishna e7e449a914 using precision levels 1..5 only 10 years ago
Harish Krishna fecb3a8ea1 work with precisions 1..9 based on the zoom levels 10 years ago
Peter Johnson 8b97976022 refactor search query 10 years ago
Peter Johnson 425fdf2e88 refactor reverse query 10 years ago
Harish Krishna 57f969117e fixing the bbox issue. constructing a 20km bbox and not some insanely big bounding box. 10 years ago
Peter Johnson 2edc546db0 formatting 10 years ago
Peter Johnson 7315159edf formatting 10 years ago
Peter Johnson d637c5630b formatting 10 years ago
Peter Johnson 2fd67fcc58 refactor; add tests 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 5580485fd9 making full text search location aware 10 years ago
Harish Krishna 554bbc62d3 adding search api endpoint and test (lat/lon in the query pending) 10 years ago
Peter Johnson f48239a7d4 current dev branch 10 years ago