201 Commits (da4c66653871c2ee5b8d82783efbfbf16fc629fc)

Author SHA1 Message Date
Harish Krishna 495c3251a4 moving all query parsing logic into its own helper. Tests to come 9 years ago
Harish Krishna f78f49d857 moving sort logic.. popularity then population first! 9 years ago
Harish Krishna 13e9aadeaf removing an outrageous if condition 9 years ago
Harish Krishna e5f783567f remove all things that involved suggester including query mixer 9 years ago
Harish Krishna a2a0a50b85 fix the number of admin_parts 9 years ago
Harish Krishna c957cbaf4f bringing back admin2 9 years ago
Harish Krishna 5025b66a91 adding admin_weights instead of just boosting admin0 9 years ago
Harish Krishna 049a96efd6 flipping the popularity population order 9 years ago
Harish Krishna e149fed273 check yoself before you wreck yoself 9 years ago
Peter Johnson ce611fd933 increase search radius to 500km 9 years ago
Peter Johnson e95c2efb54 resolves #139 9 years ago
Peter Johnson 0cf282767a remove exact_match script 9 years ago
Harish Krishna 81555745e4 reverting the revert 9 years ago
Harish Krishna 169612bee7 reverting phrase.default 9 years ago
Harish Krishna f5e18e9e17 just input 9 years ago
Harish Krishna ffcef3417a 4 admin fields 9 years ago
Harish Krishna 050c11ec0b just using a forked version of addressIt that focuses on US addresses (for now), modifying search queries and ignoring tests for now 10 years ago
Diana Shkolnikov 061f151bc8 Revert "Use multi_match in name.* for /search" 10 years ago
Peter Johnson 4770f0660f multi_match -> match 10 years ago
Peter Johnson 60a02315ae enable shingle matching 10 years ago
Peter Johnson d80008d098 pedantry: fix indentation and code comment 10 years ago
Harish Krishna 0b5b1dce85 address parser initial pass - breaks 68 tests! (ignoring tests for now) 10 years ago
Diana Shkolnikov 3697627fb7 Use multi_match in name.* for /search 10 years ago
Severyn Kozak 1f25303523 Quote properties. 10 years ago
Severyn Kozak a007af3572 Replace src/logger with pelias-logger. 10 years ago
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