{"action":"closed","number":79,"pull_request":{"url":"https://api.github.com/repos/popcorn-official/popcorn-api/pulls/79","id":110353552,"html_url":"https://github.com/popcorn-official/popcorn-api/pull/79","diff_url":"https://github.com/popcorn-official/popcorn-api/pull/79.diff","patch_url":"https://github.com/popcorn-official/popcorn-api/pull/79.patch","issue_url":"https://api.github.com/repos/popcorn-official/popcorn-api/issues/79","number":79,"state":"closed","locked":false,"title":"Text indexes search","user":{"login":"MrcRjs","id":10587527,"avatar_url":"https://avatars1.githubusercontent.com/u/10587527?v=3","gravatar_id":"","url":"https://api.github.com/users/MrcRjs","html_url":"https://github.com/MrcRjs","followers_url":"https://api.github.com/users/MrcRjs/followers","following_url":"https://api.github.com/users/MrcRjs/following{/other_user}","gists_url":"https://api.github.com/users/MrcRjs/gists{/gist_id}","starred_url":"https://api.github.com/users/MrcRjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrcRjs/subscriptions","organizations_url":"https://api.github.com/users/MrcRjs/orgs","repos_url":"https://api.github.com/users/MrcRjs/repos","events_url":"https://api.github.com/users/MrcRjs/events{/privacy}","received_events_url":"https://api.github.com/users/MrcRjs/received_events","type":"User","site_admin":false},"body":"Using text index search\r\nIndex text has beter performances than Regex, and it would bring up better results.\r\n\r\nhttps://docs.mongodb.com/manual/core/index-text/\r\n\r\nThe _id index has to be the last element in order to be a compound index and not be required in the query\r\nhttps://docs.mongodb.com/manual/core/index-text/\\#text-index-compound\r\n\r\nFixes #78, text search results have better performance, more accurate and they also check in synopsis for the keywords","created_at":"2017-03-13T07:50:59Z","updated_at":"2017-07-05T20:41:26Z","closed_at":"2017-07-05T20:41:26Z","merged_at":"2017-07-05T20:41:26Z","merge_commit_sha":"825c53466edbbaebaae98871ad70b7d9f828d085","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/popcorn-official/popcorn-api/pulls/79/commits","review_comments_url":"https://api.github.com/repos/popcorn-official/popcorn-api/pulls/79/comments","review_comment_url":"https://api.github.com/repos/popcorn-official/popcorn-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/popcorn-official/popcorn-api/issues/79/comments","statuses_url":"https://api.github.com/repos/popcorn-official/popcorn-api/statuses/0d53f7c1d2a38181a75676407324362663cc7473","head":{"label":"MrcRjs:development","ref":"development","sha":"0d53f7c1d2a38181a75676407324362663cc7473","user":{"login":"MrcRjs","id":10587527,"avatar_url":"https://avatars1.githubusercontent.com/u/10587527?v=3","gravatar_id":"","url":"https://api.github.com/users/MrcRjs","html_url":"https://github.com/MrcRjs","followers_url":"https://api.github.com/users/MrcRjs/followers","following_url":"https://api.github.com/users/MrcRjs/following{/other_user}","gists_url":"https://api.github.com/users/MrcRjs/gists{/gist_id}","starred_url":"https://api.github.com/users/MrcRjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrcRjs/subscriptions","organizations_url":"https://api.github.com/users/MrcRjs/orgs","repos_url":"https://api.github.com/users/MrcRjs/repos","events_url":"https://api.github.com/users/MrcRjs/events{/privacy}","received_events_url":"https://api.github.com/users/MrcRjs/received_events","type":"User","site_admin":false},"repo":{"id":84788425,"name":"popcorn-api","full_name":"MrcRjs/popcorn-api","owner":{"login":"MrcRjs","id":10587527,"avatar_url":"https://avatars1.githubusercontent.com/u/10587527?v=3","gravatar_id":"","url":"https://api.github.com/users/MrcRjs","html_url":"https://github.com/MrcRjs","followers_url":"https://api.github.com/users/MrcRjs/followers","following_url":"https://api.github.com/users/MrcRjs/following{/other_user}","gists_url":"https://api.github.com/users/MrcRjs/gists{/gist_id}","starred_url":"https://api.github.com/users/MrcRjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrcRjs/subscriptions","organizations_url":"https://api.github.com/users/MrcRjs/orgs","repos_url":"https://api.github.com/users/MrcRjs/repos","events_url":"https://api.github.com/users/MrcRjs/events{/privacy}","received_events_url":"https://api.github.com/users/MrcRjs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MrcRjs/popcorn-api","description":"Popcorn Time Compatible API Anime/Movies/Show Scrapper ","fork":true,"url":"https://api.github.com/repos/MrcRjs/popcorn-api","forks_url":"https://api.github.com/repos/MrcRjs/popcorn-api/forks","keys_url":"https://api.github.com/repos/MrcRjs/popcorn-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MrcRjs/popcorn-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MrcRjs/popcorn-api/teams","hooks_url":"https://api.github.com/repos/MrcRjs/popcorn-api/hooks","issue_events_url":"https://api.github.com/repos/MrcRjs/popcorn-api/issues/events{/number}","events_url":"https://api.github.com/repos/MrcRjs/popcorn-api/events","assignees_url":"https://api.github.com/repos/MrcRjs/popcorn-api/assignees{/user}","branches_url":"https://api.github.com/repos/MrcRjs/popcorn-api/branches{/branch}","tags_url":"https://api.github.com/repos/MrcRjs/popcorn-api/tags","blobs_url":"https://api.github.com/repos/MrcRjs/popcorn-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MrcRjs/popcorn-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MrcRjs/popcorn-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/MrcRjs/popcorn-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MrcRjs/popcorn-api/statuses/{sha}","languages_url":"https://api.github.com/repos/MrcRjs/popcorn-api/languages","stargazers_url":"https://api.github.com/repos/MrcRjs/popcorn-api/stargazers","contributors_url":"https://api.github.com/repos/MrcRjs/popcorn-api/contributors","subscribers_url":"https://api.github.com/repos/MrcRjs/popcorn-api/subscribers","subscription_url":"https://api.github.com/repos/MrcRjs/popcorn-api/subscription","commits_url":"https://api.github.com/repos/MrcRjs/popcorn-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/MrcRjs/popcorn-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/MrcRjs/popcorn-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/MrcRjs/popcorn-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/MrcRjs/popcorn-api/contents/{+path}","compare_url":"https://api.github.com/repos/MrcRjs/popcorn-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MrcRjs/popcorn-api/merges","archive_url":"https://api.github.com/repos/MrcRjs/popcorn-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MrcRjs/popcorn-api/downloads","issues_url":"https://api.github.com/repos/MrcRjs/popcorn-api/issues{/number}","pulls_url":"https://api.github.com/repos/MrcRjs/popcorn-api/pulls{/number}","milestones_url":"https://api.github.com/repos/MrcRjs/popcorn-api/milestones{/number}","notifications_url":"https://api.github.com/repos/MrcRjs/popcorn-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MrcRjs/popcorn-api/labels{/name}","releases_url":"https://api.github.com/repos/MrcRjs/popcorn-api/releases{/id}","deployments_url":"https://api.github.com/repos/MrcRjs/popcorn-api/deployments","created_at":"2017-03-13T05:44:47Z","updated_at":"2017-03-13T05:44:49Z","pushed_at":"2017-03-13T07:43:10Z","git_url":"git://github.com/MrcRjs/popcorn-api.git","ssh_url":"git@github.com:MrcRjs/popcorn-api.git","clone_url":"https://github.com/MrcRjs/popcorn-api.git","svn_url":"https://github.com/MrcRjs/popcorn-api","homepage":"https://popcorntime.sh","size":3787,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"development"}},"base":{"label":"popcorn-official:development","ref":"development","sha":"83ca4a24f77ea749f827a7d623db48e2ca821ed0","user":{"login":"popcorn-official","id":7267937,"avatar_url":"https://avatars0.githubusercontent.com/u/7267937?v=3","gravatar_id":"","url":"https://api.github.com/users/popcorn-official","html_url":"https://github.com/popcorn-official","followers_url":"https://api.github.com/users/popcorn-official/followers","following_url":"https://api.github.com/users/popcorn-official/following{/other_user}","gists_url":"https://api.github.com/users/popcorn-official/gists{/gist_id}","starred_url":"https://api.github.com/users/popcorn-official/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/popcorn-official/subscriptions","organizations_url":"https://api.github.com/users/popcorn-official/orgs","repos_url":"https://api.github.com/users/popcorn-official/repos","events_url":"https://api.github.com/users/popcorn-official/events{/privacy}","received_events_url":"https://api.github.com/users/popcorn-official/received_events","type":"Organization","site_admin":false},"repo":{"id":53121406,"name":"popcorn-api","full_name":"popcorn-official/popcorn-api","owner":{"login":"popcorn-official","id":7267937,"avatar_url":"https://avatars0.githubusercontent.com/u/7267937?v=3","gravatar_id":"","url":"https://api.github.com/users/popcorn-official","html_url":"https://github.com/popcorn-official","followers_url":"https://api.github.com/users/popcorn-official/followers","following_url":"https://api.github.com/users/popcorn-official/following{/other_user}","gists_url":"https://api.github.com/users/popcorn-official/gists{/gist_id}","starred_url":"https://api.github.com/users/popcorn-official/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/popcorn-official/subscriptions","organizations_url":"https://api.github.com/users/popcorn-official/orgs","repos_url":"https://api.github.com/users/popcorn-official/repos","events_url":"https://api.github.com/users/popcorn-official/events{/privacy}","received_events_url":"https://api.github.com/users/popcorn-official/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/popcorn-official/popcorn-api","description":"Popcorn Time is a multi-platform, free software BitTorrent client that includes an integrated media player.  Compatible API Anime/Movies/Show Scrapper ","fork":false,"url":"https://api.github.com/repos/popcorn-official/popcorn-api","forks_url":"https://api.github.com/repos/popcorn-official/popcorn-api/forks","keys_url":"https://api.github.com/repos/popcorn-official/popcorn-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/popcorn-official/popcorn-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/popcorn-official/popcorn-api/teams","hooks_url":"https://api.github.com/repos/popcorn-official/popcorn-api/hooks","issue_events_url":"https://api.github.com/repos/popcorn-official/popcorn-api/issues/events{/number}","events_url":"https://api.github.com/repos/popcorn-official/popcorn-api/events","assignees_url":"https://api.github.com/repos/popcorn-official/popcorn-api/assignees{/user}","branches_url":"https://api.github.com/repos/popcorn-official/popcorn-api/branches{/branch}","tags_url":"https://api.github.com/repos/popcorn-official/popcorn-api/tags","blobs_url":"https://api.github.com/repos/popcorn-official/popcorn-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/popcorn-official/popcorn-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/popcorn-official/popcorn-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/popcorn-official/popcorn-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/popcorn-official/popcorn-api/statuses/{sha}","languages_url":"https://api.github.com/repos/popcorn-official/popcorn-api/languages","stargazers_url":"https://api.github.com/repos/popcorn-official/popcorn-api/stargazers","contributors_url":"https://api.github.com/repos/popcorn-official/popcorn-api/contributors","subscribers_url":"https://api.github.com/repos/popcorn-official/popcorn-api/subscribers","subscription_url":"https://api.github.com/repos/popcorn-official/popcorn-api/subscription","commits_url":"https://api.github.com/repos/popcorn-official/popcorn-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/popcorn-official/popcorn-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/popcorn-official/popcorn-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/popcorn-official/popcorn-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/popcorn-official/popcorn-api/contents/{+path}","compare_url":"https://api.github.com/repos/popcorn-official/popcorn-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/popcorn-official/popcorn-api/merges","archive_url":"https://api.github.com/repos/popcorn-official/popcorn-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/popcorn-official/popcorn-api/downloads","issues_url":"https://api.github.com/repos/popcorn-official/popcorn-api/issues{/number}","pulls_url":"https://api.github.com/repos/popcorn-official/popcorn-api/pulls{/number}","milestones_url":"https://api.github.com/repos/popcorn-official/popcorn-api/milestones{/number}","notifications_url":"https://api.github.com/repos/popcorn-official/popcorn-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/popcorn-official/popcorn-api/labels{/name}","releases_url":"https://api.github.com/repos/popcorn-official/popcorn-api/releases{/id}","deployments_url":"https://api.github.com/repos/popcorn-official/popcorn-api/deployments","created_at":"2016-03-04T08:50:16Z","updated_at":"2017-07-05T18:34:32Z","pushed_at":"2017-07-05T20:41:26Z","git_url":"git://github.com/popcorn-official/popcorn-api.git","ssh_url":"git@github.com:popcorn-official/popcorn-api.git","clone_url":"https://github.com/popcorn-official/popcorn-api.git","svn_url":"https://github.com/popcorn-official/popcorn-api","homepage":"https://popcorntime.sh","size":3946,"stargazers_count":188,"watchers_count":188,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":70,"mirror_url":null,"open_issues_count":7,"forks":70,"open_issues":7,"watchers":188,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/popcorn-official/popcorn-api/pulls/79"},"html":{"href":"https://github.com/popcorn-official/popcorn-api/pull/79"},"issue":{"href":"https://api.github.com/repos/popcorn-official/popcorn-api/issues/79"},"comments":{"href":"https://api.github.com/repos/popcorn-official/popcorn-api/issues/79/comments"},"review_comments":{"href":"https://api.github.com/repos/popcorn-official/popcorn-api/pulls/79/comments"},"review_comment":{"href":"https://api.github.com/repos/popcorn-official/popcorn-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/popcorn-official/popcorn-api/pulls/79/commits"},"statuses":{"href":"https://api.github.com/repos/popcorn-official/popcorn-api/statuses/0d53f7c1d2a38181a75676407324362663cc7473"}},"merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"ChrisAlderson","id":17688012,"avatar_url":"https://avatars0.githubusercontent.com/u/17688012?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisAlderson","html_url":"https://github.com/ChrisAlderson","followers_url":"https://api.github.com/users/ChrisAlderson/followers","following_url":"https://api.github.com/users/ChrisAlderson/following{/other_user}","gists_url":"https://api.github.com/users/ChrisAlderson/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisAlderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisAlderson/subscriptions","organizations_url":"https://api.github.com/users/ChrisAlderson/orgs","repos_url":"https://api.github.com/users/ChrisAlderson/repos","events_url":"https://api.github.com/users/ChrisAlderson/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisAlderson/received_events","type":"User","site_admin":false},"comments":1,"review_comments":1,"maintainer_can_modify":false,"commits":3,"additions":25,"deletions":55,"changed_files":6}}
{"actor":{"display_login":"ChrisAlderson"}}