Commit Graph

  • d7c4409e20 Fix failing tests. Severyn Kozak 2015-04-23 10:54:51 -0400
  • 144b72cb16 Boost results with exact text matches when _score ties. Severyn Kozak 2015-04-23 10:49:23 -0400
  • 34a168060a Merge pull request #107 from pelias/fix-error-msg Harish Krishna 2015-04-22 18:27:41 -0400
  • c2f7410916 Merge pull request #109 from pelias/fix-coarse Harish Krishna 2015-04-22 18:27:27 -0400
  • 14c718bf1c passing in an object (req.clean) instead of a boolean. Plus updated test Harish Krishna 2015-04-22 18:22:45 -0400
  • fdb0d939bb simplifying logic: replacing the complicated ternary statement with an if statement Harish Krishna 2015-04-22 18:05:58 -0400
  • 176f580215 using is-object Harish Krishna 2015-04-22 18:00:41 -0400
  • 1fc624c957 DOCS update Grant Heffernan 2015-04-17 16:03:24 -0400
  • 22d235907d fix bbox italics in DOCS Grant Heffernan 2015-04-17 15:56:36 -0400
  • 83dbdc7d41 DOCS formatting Grant Heffernan 2015-04-17 15:38:48 -0400
  • 9e7e1455b5 a bit more DOCS cleanup Grant Heffernan 2015-04-17 15:36:01 -0400
  • 6bff821c53 standardize some DOCS language, fix indentation Grant Heffernan 2015-04-17 15:34:48 -0400
  • 189a768d05 more DOCS updates Grant Heffernan 2015-04-17 15:31:56 -0400
  • b07d693d04 updates (added suggest/nearby) Harish Krishna 2015-04-17 15:17:55 -0400
  • 6506c84434 update DOCS.md for readability, etc Grant Heffernan 2015-04-17 15:00:00 -0400
  • 904cb696a0 using coarse sanitizer for the coarse endpoint #109 Harish Krishna 2015-04-17 14:33:36 -0400
  • 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) Harish Krishna 2015-04-17 14:01:25 -0400
  • 7667a898dd param layers should be called layers consistently across the API #107 Harish Krishna 2015-04-17 11:16:01 -0400
  • aae256c93f category scoring - weights are all hardcoded to 10 currently - requires to be tweaked Harish Krishna 2015-04-16 15:57:59 -0400
  • 53bfab2529 simplifying things Harish Krishna 2015-04-16 14:15:03 -0400
  • 71499cd201 flipping default behavior - by default its details=true Harish Krishna 2015-04-16 14:13:40 -0400
  • af45b4743c oh so many more tests! Harish Krishna 2015-04-15 18:05:26 -0400
  • 719e73f3bd taking default_value into account Harish Krishna 2015-04-15 18:05:03 -0400
  • c78c8e2dbe only true or 1 is valid Harish Krishna 2015-04-15 13:22:08 -0400
  • ea78b8268a more tests: testing falsy and truthy params Harish Krishna 2015-04-15 13:12:30 -0400
  • acfa8e1f20 testing geojsonify when adddress_details flag is set to false (by default) Harish Krishna 2015-04-15 13:03:08 -0400
  • 0e9af3b9b8 adding controller tests to test details=true test case Harish Krishna 2015-04-15 12:58:11 -0400
  • c99c5f712a adding a parameter called details (defaults to false for all endpoint except reverse) + fixing tests Harish Krishna 2015-04-14 18:43:27 -0400
  • ef1a4c8aa6 adding all admin layers to the search query (including neirhborhood, locality and local_admin) Harish Krishna 2015-04-14 17:00:12 -0400
  • 7a5abd490e Merge branch 'master' into output-generator-tweaks #93 output-generator-tweaks Harish Krishna 2015-04-09 11:00:14 -0400
  • 9502ab8854 fixing failing tests 1.1.7 Harish Krishna 2015-04-09 10:59:11 -0400
  • 332a9b7be9 Merge branch 'master' into output-generator-tweaks Harish Krishna 2015-04-08 18:03:57 -0400
  • 386281a437 keeping it consistent - alpha3 > admin0 Harish Krishna 2015-04-08 17:41:51 -0400
  • 38e1c58c94 Merge pull request #96 from pelias/bbox-optimize Harish Krishna 2015-04-08 16:40:42 -0400
  • 94b044d179 using elasticsearch-backend 0.0.12 #96 Harish Krishna 2015-04-08 16:39:50 -0400
  • 46f487d819 Merge pull request #98 from pelias/add-layers Harish Krishna 2015-04-08 16:28:31 -0400
  • 3968034f80 Merge pull request #90 from pelias/suggester-fix Harish Krishna 2015-04-08 16:27:49 -0400
  • b4bd69abd2 Merge pull request #92 from pelias/suggest-requires-geo Harish Krishna 2015-04-08 16:27:19 -0400
  • baec480e48 Merge pull request #89 from pelias/null-island-bug Harish Krishna 2015-04-08 16:27:02 -0400
  • 5094ecb25e adding 'locality', 'local_admin' to the list of layers (part of admin alias) plus tests #98 Harish Krishna 2015-04-07 15:16:46 -0400
  • f13f1cdf2c tests Harish Krishna 2015-04-07 14:40:38 -0400
  • b51db53213 using an optimized bbox query Harish Krishna 2015-04-07 11:43:57 -0400
  • 2c67eb89c8 adding a 'national' key to the outputSchema. fixing tests Harish Krishna 2015-04-06 17:48:11 -0400
  • 5b34767e8e tests for sanitizer/search (tests optional geo basically in addition to the usual stuff - suggest/search sanitizer tests should eventually be merged) #92 Harish Krishna 2015-04-06 17:06:41 -0400
  • 217a5c1049 seperating suggest and search sanitizers because suggest requires geoBias (lat/lon) until ES 2.0.0 lands. Harish Krishna 2015-04-02 16:07:36 -0400
  • e586b49d1d tests - that check if the layers are being set correctly for suggesters and using query mixers right #90 Harish Krishna 2015-04-02 15:38:47 -0400
  • 898896bc24 giving request layers higher precedence (compared to the layers specified in queryMixer) Harish Krishna 2015-04-02 14:22:48 -0400
  • ec2507f155 tests: reverse sanitizers (latlon is required, size defaults to 1, supports layers) #89 Harish Krishna 2015-04-02 12:20:37 -0400
  • 7a8422025a latlon is a required field for reverse (updated _geo sanitizer) and added ability to filter by layers on /reverse Harish Krishna 2015-04-02 11:47:55 -0400
  • ad0abbbfa6 Merge 5d6d22ff92 into 7265651b4c #74 Harish Krishna 2015-03-23 20:48:25 +0000
  • 7265651b4c Merge pull request #81 from pelias/script-readme 1.1.6 Harish Krishna 2015-03-17 13:47:00 -0400
  • 73bf83275e Merge pull request #71 from pelias/add-popularity Harish Krishna 2015-03-17 13:46:46 -0400
  • b8ede3680e adding script dependency #81 Harish Krishna 2015-03-16 18:04:01 -0400
  • 28e3d3943e consistent naming convention #71 Harish Krishna 2015-03-16 16:27:24 -0400
  • 5e9d0a432e Merge branch 'master' into add-popularity Harish Krishna 2015-03-16 16:26:07 -0400
  • 0571e4faa1 Merge pull request #76 from pelias/type_property_deprecation Peter Johnson a.k.a. insertcoffee 2015-03-11 23:40:43 +0000
  • ff757decb4 deprecate 'type' property, see PR notes #76 Peter Johnson 2015-03-10 12:25:57 +0000
  • f74b2c50e9 Merge pull request #68 from pelias/split-comma-admin 1.1.5 Harish Krishna 2015-03-09 11:32:43 -0700
  • 30faa64763 Merge pull request #73 from pelias/admin_boost Harish Krishna 2015-03-05 14:17:38 -0500
  • 24902edc6a Merge branch 'admin_boost' into split-comma-admin split-comma-admin-boost Harish Krishna 2015-03-02 19:07:12 -0500
  • 2d861aea7f boosting admin0 values #73 Harish Krishna 2015-03-02 19:05:34 -0500
  • 3d8f6b3f9a Merge pull request #72 from pelias/remove_toobusy Peter Johnson a.k.a. insertcoffee 2015-03-02 12:05:16 +0000
  • 8aed2a0c6f remove toobusy module #72 Peter Johnson 2015-03-02 12:00:56 +0000
  • 79f33dee96 adding popularity to sort scoring function list Harish Krishna 2015-02-26 12:33:02 -0500
  • 40b638d85c Merge branch 'master' into split-comma-admin #68 Harish Krishna 2015-02-25 15:58:52 -0500
  • 218218c7b4 Merge pull request #67 from pelias/score-function 1.1.4 Harish Krishna 2015-02-25 15:36:00 -0500
  • 743c825b41 just using weights from pelias-suggester-pipeline (reducing dependency issues with another repo) #67 Harish Krishna 2015-02-24 18:48:56 -0500
  • 6c802dfa1d testing sort part of the query Harish Krishna 2015-02-24 18:48:22 -0500
  • 5f30559680 testing inputs with comma Harish Krishna 2015-02-24 18:24:21 -0500
  • d2d76be8fa changing a commented line to reflect reality Harish Krishna 2015-02-24 18:23:47 -0500
  • a003b7b9bf strip out leading and trailing whitespace if any Harish Krishna 2015-02-24 17:23:59 -0500
  • 4e9b5502a2 using population var Harish Krishna 2015-02-24 17:20:21 -0500
  • a427c058f7 adding admin1_abbr and admin2 to the admin_fields array Harish Krishna 2015-02-18 02:21:29 -0500
  • 9013b4484e fixing tests Harish Krishna 2015-02-17 19:25:57 -0500
  • 2127ebe258 switching to bool with a 'must' match (AND) and a few 'should's (OR) Harish Krishna 2015-02-17 19:25:09 -0500
  • 84a9b3e20e splitting on comma (trying to find/assume admin values) Harish Krishna 2015-02-17 19:24:11 -0500
  • 5d6d22ff92 using ngrams (experiment) #74 using-pelias-ngram Harish Krishna 2015-02-17 15:42:37 -0500
  • 39b9564d62 updating package.json Harish Krishna 2015-02-11 17:03:34 -0500
  • 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 Harish Krishna 2015-02-11 17:01:21 -0500
  • 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/ Harish Krishna 2015-02-10 14:52:15 -0500
  • b4f4daafcf using suggester-pipeline instead of pelias-model Harish Krishna 2015-02-09 15:02:45 -0500
  • 1a740f16df sorting function based on population and weights plus tests Harish Krishna 2015-02-08 15:41:29 -0500
  • 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) Harish Krishna 2015-02-06 14:07:01 -0500
  • 2d7b11b967 using sort-scoring-function Harish Krishna 2015-02-06 14:06:10 -0500
  • 28b0d062a6 Merge pull request #66 from pelias/geobias-optional 1.1.3 Harish Krishna 2015-02-02 11:31:12 -0500
  • 91abc11f29 adding a line break for readability Harish Krishna 2015-01-29 17:59:01 -0500
  • 2f89cbd528 tests that test optional lat/lon for search and suggest endpoints #66 Harish Krishna 2015-01-29 17:57:19 -0500
  • a4bd350f2e using elasticsearch-backend#centroid-optional queries for search Harish Krishna 2015-01-29 17:56:30 -0500
  • 2e1ce6f293 context suggester is broken (ES v 2.0.0 will possibly have a fix) https://github.com/elasticsearch/elasticsearch/issues/6444 Harish Krishna 2015-01-29 13:36:55 -0500
  • 827a93be11 Revert "adding geoname to coarse [experimental]" Harish Krishna 2015-01-23 14:59:00 -0500
  • 2424b0c9e2 adding geoname to coarse [experimental] Harish Krishna 2015-01-23 14:41:36 -0500
  • 650e88d79f making geo bias optional - first pass with all tests passing Harish Krishna 2015-01-22 16:42:27 -0500
  • 02266cf26f Merge pull request #65 from pelias/coarse-bug 1.1.2 Harish Krishna 2015-01-21 17:52:37 -0500
  • 86eb14d2e6 making sure multiple suggesters and their index are not overwritten #65 Harish Krishna 2015-01-21 17:51:03 -0500
  • 65ab906b45 Merge pull request #64 from pelias/add-addresses 1.1.1 Harish Krishna 2015-01-20 17:28:54 -0500
  • a67f640acb adding address type to layers by default #64 Harish Krishna 2015-01-20 17:28:02 -0500
  • 103ed5f006 using alias layer names in queryMixer and expanding them in helper/layers.js (keeping things DRY) Harish Krishna 2015-01-19 19:00:52 -0500
  • f59962f510 Merge pull request #63 from pelias/coarse Harish Krishna 2015-01-19 16:47:41 -0500
  • 68aabd7647 tests #63 Harish Krishna 2015-01-19 16:27:32 -0500
  • 143d8ad93a _geo Harish Krishna 2015-01-19 15:22:13 -0500