{"action":"created","issue":{"url":"https://api.github.com/repos/julianlam/nodebb-plugin-solr/issues/21","labels_url":"https://api.github.com/repos/julianlam/nodebb-plugin-solr/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/julianlam/nodebb-plugin-solr/issues/21/comments","events_url":"https://api.github.com/repos/julianlam/nodebb-plugin-solr/issues/21/events","html_url":"https://github.com/julianlam/nodebb-plugin-solr/issues/21","id":61897716,"number":21,"title":"index uid/cid with posts/topics","user":{"login":"barisusakli","id":2583394,"avatar_url":"https://avatars.githubusercontent.com/u/2583394?v=3","gravatar_id":"","url":"https://api.github.com/users/barisusakli","html_url":"https://github.com/barisusakli","followers_url":"https://api.github.com/users/barisusakli/followers","following_url":"https://api.github.com/users/barisusakli/following{/other_user}","gists_url":"https://api.github.com/users/barisusakli/gists{/gist_id}","starred_url":"https://api.github.com/users/barisusakli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barisusakli/subscriptions","organizations_url":"https://api.github.com/users/barisusakli/orgs","repos_url":"https://api.github.com/users/barisusakli/repos","events_url":"https://api.github.com/users/barisusakli/events{/privacy}","received_events_url":"https://api.github.com/users/barisusakli/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/julianlam/nodebb-plugin-solr/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"julianlam","id":923011,"avatar_url":"https://avatars.githubusercontent.com/u/923011?v=3","gravatar_id":"","url":"https://api.github.com/users/julianlam","html_url":"https://github.com/julianlam","followers_url":"https://api.github.com/users/julianlam/followers","following_url":"https://api.github.com/users/julianlam/following{/other_user}","gists_url":"https://api.github.com/users/julianlam/gists{/gist_id}","starred_url":"https://api.github.com/users/julianlam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julianlam/subscriptions","organizations_url":"https://api.github.com/users/julianlam/orgs","repos_url":"https://api.github.com/users/julianlam/repos","events_url":"https://api.github.com/users/julianlam/events{/privacy}","received_events_url":"https://api.github.com/users/julianlam/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-03-15T20:50:20Z","updated_at":"2015-03-18T19:06:32Z","closed_at":null,"body":"adding them to solr seems easy not sure about querying.\r\n\r\n```\r\nvar payload = {\r\n    id: 'post:' + postData.pid,\t// Just needs to be unique\r\n    'pid_i': postData.pid,\r\n    'cid_i': postData.cid,\r\n    'uid_i`: postsData.uid                      \r\n};\r\n\t\r\npayload[Solr.config.contentField || 'description_t'] = postData.content;\r\nSolr.add(payload);\r\n```\r\n\r\ncore branch that has the changes https://github.com/NodeBB/NodeBB/tree/search-cid-uid\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/julianlam/nodebb-plugin-solr/issues/comments/83123859","html_url":"https://github.com/julianlam/nodebb-plugin-solr/issues/21#issuecomment-83123859","issue_url":"https://api.github.com/repos/julianlam/nodebb-plugin-solr/issues/21","id":83123859,"user":{"login":"barisusakli","id":2583394,"avatar_url":"https://avatars.githubusercontent.com/u/2583394?v=3","gravatar_id":"","url":"https://api.github.com/users/barisusakli","html_url":"https://github.com/barisusakli","followers_url":"https://api.github.com/users/barisusakli/followers","following_url":"https://api.github.com/users/barisusakli/following{/other_user}","gists_url":"https://api.github.com/users/barisusakli/gists{/gist_id}","starred_url":"https://api.github.com/users/barisusakli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barisusakli/subscriptions","organizations_url":"https://api.github.com/users/barisusakli/orgs","repos_url":"https://api.github.com/users/barisusakli/repos","events_url":"https://api.github.com/users/barisusakli/events{/privacy}","received_events_url":"https://api.github.com/users/barisusakli/received_events","type":"User","site_admin":false},"created_at":"2015-03-18T19:06:32Z","updated_at":"2015-03-18T19:06:32Z","body":"`action:post.move` needs to be handled as well.\r\n"}}