{"action":"created","issue":{"url":"https://api.github.com/repos/deepstreamIO/deepstream.io-provider-search-rethinkdb/issues/2","repository_url":"https://api.github.com/repos/deepstreamIO/deepstream.io-provider-search-rethinkdb","labels_url":"https://api.github.com/repos/deepstreamIO/deepstream.io-provider-search-rethinkdb/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/deepstreamIO/deepstream.io-provider-search-rethinkdb/issues/2/comments","events_url":"https://api.github.com/repos/deepstreamIO/deepstream.io-provider-search-rethinkdb/issues/2/events","html_url":"https://github.com/deepstreamIO/deepstream.io-provider-search-rethinkdb/issues/2","id":120203108,"number":2,"title":"Does this work with newer versions?","user":{"login":"jwanglof","id":1097378,"avatar_url":"https://avatars.githubusercontent.com/u/1097378?v=3","gravatar_id":"","url":"https://api.github.com/users/jwanglof","html_url":"https://github.com/jwanglof","followers_url":"https://api.github.com/users/jwanglof/followers","following_url":"https://api.github.com/users/jwanglof/following{/other_user}","gists_url":"https://api.github.com/users/jwanglof/gists{/gist_id}","starred_url":"https://api.github.com/users/jwanglof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwanglof/subscriptions","organizations_url":"https://api.github.com/users/jwanglof/orgs","repos_url":"https://api.github.com/users/jwanglof/repos","events_url":"https://api.github.com/users/jwanglof/events{/privacy}","received_events_url":"https://api.github.com/users/jwanglof/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2015-12-03T15:53:38Z","updated_at":"2016-06-30T18:17:55Z","closed_at":null,"body":"I'm trying to use the search-provider from NPM (version 0.1.2) with Deepstream (version 0.6.0) and Deepstream client (version 0.3.5) and I keep getting an empty array when I'm calling `.getEntries()`:\r\n\r\n    4:48:21 PM:924 | Found 1 initial matches for search?{\"table\":\"user\",\"query\":[[\"username\",\"eq\",\"a@a.com\"]]}\r\n    Error: entries must be an array of record names\r\n      at List.setEntries (/home/johan/Development/mail2/briteback/repos/briteback-setting/node_modules/deepstream.io-client-js/src/record/list.js:85:10)\r\n      at Search._populateList (/home/johan/Development/mail2/briteback/repos/briteback-setting/node_modules/deepstream.io-provider-search-rethinkdb/src/search.js:123:13)\r\n      at Search._processInitialValues (/home/johan/Development/mail2/briteback/repos/briteback-setting/node_modules/deepstream.io-provider-search-rethinkdb/src/search.js:101:8)\r\n      at tryCatcher (/home/johan/Development/mail2/briteback/repos/briteback-setting/node_modules/bluebird/js/main/util.js:26:23)\r\n      at Promise.successAdapter (/home/johan/Development/mail2/briteback/repos/briteback-setting/node_modules/bluebird/js/main/nodeify.js:23:30)\r\n      at Promise._settlePromiseAt (/home/johan/Development/mail2/briteback/repos/briteback-setting/node_modules/bluebird/js/main/promise.js:579:21)\r\n      at Promise._settlePromiseAtPostResolution (/home/johan/Development/mail2/briteback/repos/briteback-setting/node_modules/bluebird/js/main/promise.js:245:10)\r\n      at Async._drainQueue (/home/johan/Development/mail2/briteback/repos/briteback-setting/node_modules/bluebird/js/main/async.js:128:12)\r\n      at Async._drainQueues (/home/johan/Development/mail2/briteback/repos/briteback-setting/node_modules/bluebird/js/main/async.js:133:10)\r\n      at Immediate.Async.drainQueues [as _onImmediate] (/home/johan/Development/mail2/briteback/repos/briteback-setting/node_modules/bluebird/js/main/async.js:15:14)\r\n      at processImmediate [as _immediateCallback] (timers.js:383:17)\r\n\r\nThis is my search-provider-conf:\r\n\r\n    var searchProvider = new SearchProvider({\r\n      logLevel: 3,\r\n      deepstreamClient: DSClientFrontend,\r\n      rethinkdbConnectionParams: {\r\n        host: config.db.host,\r\n        port: config.db.port,\r\n        db: config.db.name\r\n      }\r\n    });\r\n\r\n(`DSClientFrontend` is a started and signed-in Deepstream Client)\r\n\r\nThis is how I'm using it:\r\n\r\n    var queryString = JSON.stringify({\r\n      table: 'user',\r\n      query: [\r\n        ['username', 'eq', 'a@a.com']\r\n      ]\r\n    });\r\n    var test = deepstreamClient.record.getList('search?' + queryString);\r\n    test.whenReady(() => {\r\n      console.log(hej.getEntries());\r\n    });"},"comment":{"url":"https://api.github.com/repos/deepstreamIO/deepstream.io-provider-search-rethinkdb/issues/comments/229744342","html_url":"https://github.com/deepstreamIO/deepstream.io-provider-search-rethinkdb/issues/2#issuecomment-229744342","issue_url":"https://api.github.com/repos/deepstreamIO/deepstream.io-provider-search-rethinkdb/issues/2","id":229744342,"user":{"login":"yasserf","id":2734923,"avatar_url":"https://avatars.githubusercontent.com/u/2734923?v=3","gravatar_id":"","url":"https://api.github.com/users/yasserf","html_url":"https://github.com/yasserf","followers_url":"https://api.github.com/users/yasserf/followers","following_url":"https://api.github.com/users/yasserf/following{/other_user}","gists_url":"https://api.github.com/users/yasserf/gists{/gist_id}","starred_url":"https://api.github.com/users/yasserf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yasserf/subscriptions","organizations_url":"https://api.github.com/users/yasserf/orgs","repos_url":"https://api.github.com/users/yasserf/repos","events_url":"https://api.github.com/users/yasserf/events{/privacy}","received_events_url":"https://api.github.com/users/yasserf/received_events","type":"User","site_admin":false},"created_at":"2016-06-30T18:17:55Z","updated_at":"2016-06-30T18:17:55Z","body":"Can you retry with 1.0 for all versions? Just realised this will require a fix on rethinkdb-provider since it doesn't use the latest client, so might need to wait until that gets published too.\r\n\r\nPS. Sorry for the long reply time..."}}
{"actor":{"display_login":"yasserf"}}