{"action":"opened","number":87,"pull_request":{"url":"https://api.github.com/repos/nicolaslopezj/searchable/pulls/87","id":51437154,"html_url":"https://github.com/nicolaslopezj/searchable/pull/87","diff_url":"https://github.com/nicolaslopezj/searchable/pull/87.diff","patch_url":"https://github.com/nicolaslopezj/searchable/pull/87.patch","issue_url":"https://api.github.com/repos/nicolaslopezj/searchable/issues/87","number":87,"state":"open","locked":false,"title":"Added average aggregate function to relevance scores (fixes #75)","user":{"login":"joostbaptist","id":8181757,"avatar_url":"https://avatars.githubusercontent.com/u/8181757?v=3","gravatar_id":"","url":"https://api.github.com/users/joostbaptist","html_url":"https://github.com/joostbaptist","followers_url":"https://api.github.com/users/joostbaptist/followers","following_url":"https://api.github.com/users/joostbaptist/following{/other_user}","gists_url":"https://api.github.com/users/joostbaptist/gists{/gist_id}","starred_url":"https://api.github.com/users/joostbaptist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joostbaptist/subscriptions","organizations_url":"https://api.github.com/users/joostbaptist/orgs","repos_url":"https://api.github.com/users/joostbaptist/repos","events_url":"https://api.github.com/users/joostbaptist/events{/privacy}","received_events_url":"https://api.github.com/users/joostbaptist/received_events","type":"User","site_admin":false},"body":"This pull request fixes #75 and possibly more issues. The problem is that a GROUP BY clause is used (to remove duplicates?), but there is no aggregate over the relevance score.","created_at":"2015-11-21T08:38:28Z","updated_at":"2015-11-21T08:38:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nicolaslopezj/searchable/pulls/87/commits","review_comments_url":"https://api.github.com/repos/nicolaslopezj/searchable/pulls/87/comments","review_comment_url":"https://api.github.com/repos/nicolaslopezj/searchable/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nicolaslopezj/searchable/issues/87/comments","statuses_url":"https://api.github.com/repos/nicolaslopezj/searchable/statuses/708d24af84c9d03cdb31dd9ebca350db6afb5370","head":{"label":"joostbaptist:master","ref":"master","sha":"708d24af84c9d03cdb31dd9ebca350db6afb5370","user":{"login":"joostbaptist","id":8181757,"avatar_url":"https://avatars.githubusercontent.com/u/8181757?v=3","gravatar_id":"","url":"https://api.github.com/users/joostbaptist","html_url":"https://github.com/joostbaptist","followers_url":"https://api.github.com/users/joostbaptist/followers","following_url":"https://api.github.com/users/joostbaptist/following{/other_user}","gists_url":"https://api.github.com/users/joostbaptist/gists{/gist_id}","starred_url":"https://api.github.com/users/joostbaptist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joostbaptist/subscriptions","organizations_url":"https://api.github.com/users/joostbaptist/orgs","repos_url":"https://api.github.com/users/joostbaptist/repos","events_url":"https://api.github.com/users/joostbaptist/events{/privacy}","received_events_url":"https://api.github.com/users/joostbaptist/received_events","type":"User","site_admin":false},"repo":{"id":46607368,"name":"searchable","full_name":"joostbaptist/searchable","owner":{"login":"joostbaptist","id":8181757,"avatar_url":"https://avatars.githubusercontent.com/u/8181757?v=3","gravatar_id":"","url":"https://api.github.com/users/joostbaptist","html_url":"https://github.com/joostbaptist","followers_url":"https://api.github.com/users/joostbaptist/followers","following_url":"https://api.github.com/users/joostbaptist/following{/other_user}","gists_url":"https://api.github.com/users/joostbaptist/gists{/gist_id}","starred_url":"https://api.github.com/users/joostbaptist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joostbaptist/subscriptions","organizations_url":"https://api.github.com/users/joostbaptist/orgs","repos_url":"https://api.github.com/users/joostbaptist/repos","events_url":"https://api.github.com/users/joostbaptist/events{/privacy}","received_events_url":"https://api.github.com/users/joostbaptist/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/joostbaptist/searchable","description":"A php trait to search laravel models","fork":true,"url":"https://api.github.com/repos/joostbaptist/searchable","forks_url":"https://api.github.com/repos/joostbaptist/searchable/forks","keys_url":"https://api.github.com/repos/joostbaptist/searchable/keys{/key_id}","collaborators_url":"https://api.github.com/repos/joostbaptist/searchable/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/joostbaptist/searchable/teams","hooks_url":"https://api.github.com/repos/joostbaptist/searchable/hooks","issue_events_url":"https://api.github.com/repos/joostbaptist/searchable/issues/events{/number}","events_url":"https://api.github.com/repos/joostbaptist/searchable/events","assignees_url":"https://api.github.com/repos/joostbaptist/searchable/assignees{/user}","branches_url":"https://api.github.com/repos/joostbaptist/searchable/branches{/branch}","tags_url":"https://api.github.com/repos/joostbaptist/searchable/tags","blobs_url":"https://api.github.com/repos/joostbaptist/searchable/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/joostbaptist/searchable/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/joostbaptist/searchable/git/refs{/sha}","trees_url":"https://api.github.com/repos/joostbaptist/searchable/git/trees{/sha}","statuses_url":"https://api.github.com/repos/joostbaptist/searchable/statuses/{sha}","languages_url":"https://api.github.com/repos/joostbaptist/searchable/languages","stargazers_url":"https://api.github.com/repos/joostbaptist/searchable/stargazers","contributors_url":"https://api.github.com/repos/joostbaptist/searchable/contributors","subscribers_url":"https://api.github.com/repos/joostbaptist/searchable/subscribers","subscription_url":"https://api.github.com/repos/joostbaptist/searchable/subscription","commits_url":"https://api.github.com/repos/joostbaptist/searchable/commits{/sha}","git_commits_url":"https://api.github.com/repos/joostbaptist/searchable/git/commits{/sha}","comments_url":"https://api.github.com/repos/joostbaptist/searchable/comments{/number}","issue_comment_url":"https://api.github.com/repos/joostbaptist/searchable/issues/comments{/number}","contents_url":"https://api.github.com/repos/joostbaptist/searchable/contents/{+path}","compare_url":"https://api.github.com/repos/joostbaptist/searchable/compare/{base}...{head}","merges_url":"https://api.github.com/repos/joostbaptist/searchable/merges","archive_url":"https://api.github.com/repos/joostbaptist/searchable/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/joostbaptist/searchable/downloads","issues_url":"https://api.github.com/repos/joostbaptist/searchable/issues{/number}","pulls_url":"https://api.github.com/repos/joostbaptist/searchable/pulls{/number}","milestones_url":"https://api.github.com/repos/joostbaptist/searchable/milestones{/number}","notifications_url":"https://api.github.com/repos/joostbaptist/searchable/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/joostbaptist/searchable/labels{/name}","releases_url":"https://api.github.com/repos/joostbaptist/searchable/releases{/id}","created_at":"2015-11-21T08:26:37Z","updated_at":"2015-11-21T08:26:39Z","pushed_at":"2015-11-21T08:34:03Z","git_url":"git://github.com/joostbaptist/searchable.git","ssh_url":"git@github.com:joostbaptist/searchable.git","clone_url":"https://github.com/joostbaptist/searchable.git","svn_url":"https://github.com/joostbaptist/searchable","homepage":"","size":68,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"nicolaslopezj:master","ref":"master","sha":"8d97d2c97dc17bc0795220b11b9ce0769d7d9173","user":{"login":"nicolaslopezj","id":2042567,"avatar_url":"https://avatars.githubusercontent.com/u/2042567?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolaslopezj","html_url":"https://github.com/nicolaslopezj","followers_url":"https://api.github.com/users/nicolaslopezj/followers","following_url":"https://api.github.com/users/nicolaslopezj/following{/other_user}","gists_url":"https://api.github.com/users/nicolaslopezj/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolaslopezj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolaslopezj/subscriptions","organizations_url":"https://api.github.com/users/nicolaslopezj/orgs","repos_url":"https://api.github.com/users/nicolaslopezj/repos","events_url":"https://api.github.com/users/nicolaslopezj/events{/privacy}","received_events_url":"https://api.github.com/users/nicolaslopezj/received_events","type":"User","site_admin":false},"repo":{"id":20911895,"name":"searchable","full_name":"nicolaslopezj/searchable","owner":{"login":"nicolaslopezj","id":2042567,"avatar_url":"https://avatars.githubusercontent.com/u/2042567?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolaslopezj","html_url":"https://github.com/nicolaslopezj","followers_url":"https://api.github.com/users/nicolaslopezj/followers","following_url":"https://api.github.com/users/nicolaslopezj/following{/other_user}","gists_url":"https://api.github.com/users/nicolaslopezj/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolaslopezj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolaslopezj/subscriptions","organizations_url":"https://api.github.com/users/nicolaslopezj/orgs","repos_url":"https://api.github.com/users/nicolaslopezj/repos","events_url":"https://api.github.com/users/nicolaslopezj/events{/privacy}","received_events_url":"https://api.github.com/users/nicolaslopezj/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nicolaslopezj/searchable","description":"A php trait to search laravel models","fork":false,"url":"https://api.github.com/repos/nicolaslopezj/searchable","forks_url":"https://api.github.com/repos/nicolaslopezj/searchable/forks","keys_url":"https://api.github.com/repos/nicolaslopezj/searchable/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nicolaslopezj/searchable/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nicolaslopezj/searchable/teams","hooks_url":"https://api.github.com/repos/nicolaslopezj/searchable/hooks","issue_events_url":"https://api.github.com/repos/nicolaslopezj/searchable/issues/events{/number}","events_url":"https://api.github.com/repos/nicolaslopezj/searchable/events","assignees_url":"https://api.github.com/repos/nicolaslopezj/searchable/assignees{/user}","branches_url":"https://api.github.com/repos/nicolaslopezj/searchable/branches{/branch}","tags_url":"https://api.github.com/repos/nicolaslopezj/searchable/tags","blobs_url":"https://api.github.com/repos/nicolaslopezj/searchable/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nicolaslopezj/searchable/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nicolaslopezj/searchable/git/refs{/sha}","trees_url":"https://api.github.com/repos/nicolaslopezj/searchable/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nicolaslopezj/searchable/statuses/{sha}","languages_url":"https://api.github.com/repos/nicolaslopezj/searchable/languages","stargazers_url":"https://api.github.com/repos/nicolaslopezj/searchable/stargazers","contributors_url":"https://api.github.com/repos/nicolaslopezj/searchable/contributors","subscribers_url":"https://api.github.com/repos/nicolaslopezj/searchable/subscribers","subscription_url":"https://api.github.com/repos/nicolaslopezj/searchable/subscription","commits_url":"https://api.github.com/repos/nicolaslopezj/searchable/commits{/sha}","git_commits_url":"https://api.github.com/repos/nicolaslopezj/searchable/git/commits{/sha}","comments_url":"https://api.github.com/repos/nicolaslopezj/searchable/comments{/number}","issue_comment_url":"https://api.github.com/repos/nicolaslopezj/searchable/issues/comments{/number}","contents_url":"https://api.github.com/repos/nicolaslopezj/searchable/contents/{+path}","compare_url":"https://api.github.com/repos/nicolaslopezj/searchable/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nicolaslopezj/searchable/merges","archive_url":"https://api.github.com/repos/nicolaslopezj/searchable/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nicolaslopezj/searchable/downloads","issues_url":"https://api.github.com/repos/nicolaslopezj/searchable/issues{/number}","pulls_url":"https://api.github.com/repos/nicolaslopezj/searchable/pulls{/number}","milestones_url":"https://api.github.com/repos/nicolaslopezj/searchable/milestones{/number}","notifications_url":"https://api.github.com/repos/nicolaslopezj/searchable/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nicolaslopezj/searchable/labels{/name}","releases_url":"https://api.github.com/repos/nicolaslopezj/searchable/releases{/id}","created_at":"2014-06-17T05:53:45Z","updated_at":"2015-11-20T10:30:37Z","pushed_at":"2015-11-21T08:38:28Z","git_url":"git://github.com/nicolaslopezj/searchable.git","ssh_url":"git@github.com:nicolaslopezj/searchable.git","clone_url":"https://github.com/nicolaslopezj/searchable.git","svn_url":"https://github.com/nicolaslopezj/searchable","homepage":"","size":502,"stargazers_count":505,"watchers_count":505,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":61,"mirror_url":null,"open_issues_count":32,"forks":61,"open_issues":32,"watchers":505,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nicolaslopezj/searchable/pulls/87"},"html":{"href":"https://github.com/nicolaslopezj/searchable/pull/87"},"issue":{"href":"https://api.github.com/repos/nicolaslopezj/searchable/issues/87"},"comments":{"href":"https://api.github.com/repos/nicolaslopezj/searchable/issues/87/comments"},"review_comments":{"href":"https://api.github.com/repos/nicolaslopezj/searchable/pulls/87/comments"},"review_comment":{"href":"https://api.github.com/repos/nicolaslopezj/searchable/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nicolaslopezj/searchable/pulls/87/commits"},"statuses":{"href":"https://api.github.com/repos/nicolaslopezj/searchable/statuses/708d24af84c9d03cdb31dd9ebca350db6afb5370"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}