GitHub PullRequestEvent at 2014-03-27 12:50:28
Repository: FOSElasticaBundle
Actor: solocommand
Payload: {"action":"closed","number":520,"pull_request":{"url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/pulls/520","id":14034374,"html_url":"https://github.com/FriendsOfSymfony/FOSElasticaBundle/pull/520","diff_url":"https://github.com/FriendsOfSymfony/FOSElasticaBundle/pull/520.diff","patch_url":"https://github.com/FriendsOfSymfony/FOSElasticaBundle/pull/520.patch","issue_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/issues/520","number":520,"state":"closed","title":"Support for using finder semantic config with index_name","user":{"login":"solocommand","id":1778222,"avatar_url":"https://avatars.githubusercontent.com/u/1778222?","gravatar_id":"ff20d492b6631dd9be0da5da7c7fa907","url":"https://api.github.com/users/solocommand","html_url":"https://github.com/solocommand","followers_url":"https://api.github.com/users/solocommand/followers","following_url":"https://api.github.com/users/solocommand/following{/other_user}","gists_url":"https://api.github.com/users/solocommand/gists{/gist_id}","starred_url":"https://api.github.com/users/solocommand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solocommand/subscriptions","organizations_url":"https://api.github.com/users/solocommand/orgs","repos_url":"https://api.github.com/users/solocommand/repos","events_url":"https://api.github.com/users/solocommand/events{/privacy}","received_events_url":"https://api.github.com/users/solocommand/received_events","type":"User","site_admin":false},"body":"In the docs, it says that you can use a finder for the [entire index] (https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/master/Resources/doc/usage.md#searching-the-entire-index) and that you can use [index_name](https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/master/Resources/doc/setup.md#c-basic-bundle-configuration) to refer to the index via a different name.\r\n\r\nHowever, these two options are currently mutually exclusive, as there is no ElasticaToModelTransformer available for a finder defined on the aliased index service.\r\n\r\nex:\r\n```yaml\r\nfos_elastica:\r\n    clients:\r\n        default: { host: localhost, port: 9200 }\r\n    indexes:\r\n\r\n        # Index aliases\r\n        content:\r\n            client: default\r\n            index_name: content_mywebsite\r\n            finder: ~\r\n\r\n        # Index definitions\r\n        content_mywebsite:\r\n            client: default\r\n            finder: ~\r\n            types:\r\n            # ...\r\n```\r\n\r\nThis PR adds support for using a finder on an aliased index service by adding an $alias parameter to loadIndexFinder() and adjusting the parameters if using the index_name semantic config option.","created_at":"2014-03-26T22:51:00Z","updated_at":"2014-03-27T12:50:28Z","closed_at":"2014-03-27T12:50:28Z","merged_at":null,"merge_commit_sha":"5ebba8cba0295f6768a8292cdbd17eee92711688","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/pulls/520/commits","review_comments_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/pulls/520/comments","review_comment_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/pulls/comments/{number}","comments_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/issues/520/comments","statuses_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/statuses/f64bea5e779e82931fc09e50c7c81ea9973da09c","head":{"label":"solocommand:master","ref":"master","sha":"f64bea5e779e82931fc09e50c7c81ea9973da09c","user":{"login":"solocommand","id":1778222,"avatar_url":"https://avatars.githubusercontent.com/u/1778222?","gravatar_id":"ff20d492b6631dd9be0da5da7c7fa907","url":"https://api.github.com/users/solocommand","html_url":"https://github.com/solocommand","followers_url":"https://api.github.com/users/solocommand/followers","following_url":"https://api.github.com/users/solocommand/following{/other_user}","gists_url":"https://api.github.com/users/solocommand/gists{/gist_id}","starred_url":"https://api.github.com/users/solocommand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solocommand/subscriptions","organizations_url":"https://api.github.com/users/solocommand/orgs","repos_url":"https://api.github.com/users/solocommand/repos","events_url":"https://api.github.com/users/solocommand/events{/privacy}","received_events_url":"https://api.github.com/users/solocommand/received_events","type":"User","site_admin":false},"repo":{"id":18156472,"name":"FOSElasticaBundle","full_name":"solocommand/FOSElasticaBundle","owner":{"login":"solocommand","id":1778222,"avatar_url":"https://avatars.githubusercontent.com/u/1778222?","gravatar_id":"ff20d492b6631dd9be0da5da7c7fa907","url":"https://api.github.com/users/solocommand","html_url":"https://github.com/solocommand","followers_url":"https://api.github.com/users/solocommand/followers","following_url":"https://api.github.com/users/solocommand/following{/other_user}","gists_url":"https://api.github.com/users/solocommand/gists{/gist_id}","starred_url":"https://api.github.com/users/solocommand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solocommand/subscriptions","organizations_url":"https://api.github.com/users/solocommand/orgs","repos_url":"https://api.github.com/users/solocommand/repos","events_url":"https://api.github.com/users/solocommand/events{/privacy}","received_events_url":"https://api.github.com/users/solocommand/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/solocommand/FOSElasticaBundle","description":"Elasticsearch PHP integration for your Symfony2 project using Elastica","fork":true,"url":"https://api.github.com/repos/solocommand/FOSElasticaBundle","forks_url":"https://api.github.com/repos/solocommand/FOSElasticaBundle/forks","keys_url":"https://api.github.com/repos/solocommand/FOSElasticaBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/solocommand/FOSElasticaBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/solocommand/FOSElasticaBundle/teams","hooks_url":"https://api.github.com/repos/solocommand/FOSElasticaBundle/hooks","issue_events_url":"https://api.github.com/repos/solocommand/FOSElasticaBundle/issues/events{/number}","events_url":"https://api.github.com/repos/solocommand/FOSElasticaBundle/events","assignees_url":"https://api.github.com/repos/solocommand/FOSElasticaBundle/assignees{/user}","branches_url":"https://api.github.com/repos/solocommand/FOSElasticaBundle/branches{/branch}","tags_url":"https://api.github.com/repos/solocommand/FOSElasticaBundle/tags","blobs_url":"https://api.github.com/repos/solocommand/FOSElasticaBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/solocommand/FOSElasticaBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/solocommand/FOSElasticaBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/solocommand/FOSElasticaBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/solocommand/FOSElasticaBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/solocommand/FOSElasticaBundle/languages","stargazers_url":"https://api.github.com/repos/solocommand/FOSElasticaBundle/stargazers","contributors_url":"https://api.github.com/repos/solocommand/FOSElasticaBundle/contributors","subscribers_url":"https://api.github.com/repos/solocommand/FOSElasticaBundle/subscribers","subscription_url":"https://api.github.com/repos/solocommand/FOSElasticaBundle/subscription","commits_url":"https://api.github.com/repos/solocommand/FOSElasticaBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/solocommand/FOSElasticaBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/solocommand/FOSElasticaBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/solocommand/FOSElasticaBundle/issues/comments/{number}","contents_url":"https://api.github.com/repos/solocommand/FOSElasticaBundle/contents/{+path}","compare_url":"https://api.github.com/repos/solocommand/FOSElasticaBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/solocommand/FOSElasticaBundle/merges","archive_url":"https://api.github.com/repos/solocommand/FOSElasticaBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/solocommand/FOSElasticaBundle/downloads","issues_url":"https://api.github.com/repos/solocommand/FOSElasticaBundle/issues{/number}","pulls_url":"https://api.github.com/repos/solocommand/FOSElasticaBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/solocommand/FOSElasticaBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/solocommand/FOSElasticaBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/solocommand/FOSElasticaBundle/labels{/name}","releases_url":"https://api.github.com/repos/solocommand/FOSElasticaBundle/releases{/id}","created_at":"2014-03-26T22:37:24Z","updated_at":"2014-03-26T22:51:00Z","pushed_at":"2014-03-26T22:40:29Z","git_url":"git://github.com/solocommand/FOSElasticaBundle.git","ssh_url":"git@github.com:solocommand/FOSElasticaBundle.git","clone_url":"https://github.com/solocommand/FOSElasticaBundle.git","svn_url":"https://github.com/solocommand/FOSElasticaBundle","homepage":"","size":3059,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","master_branch":"master"}},"base":{"label":"FriendsOfSymfony:master","ref":"master","sha":"8c146134dad5082f8d8a3f5ccbac1d5333b2fc8b","user":{"login":"FriendsOfSymfony","id":529709,"avatar_url":"https://avatars.githubusercontent.com/u/529709?","gravatar_id":"eedcf60e1fa2ae2d70a06b23c1cca44a","url":"https://api.github.com/users/FriendsOfSymfony","html_url":"https://github.com/FriendsOfSymfony","followers_url":"https://api.github.com/users/FriendsOfSymfony/followers","following_url":"https://api.github.com/users/FriendsOfSymfony/following{/other_user}","gists_url":"https://api.github.com/users/FriendsOfSymfony/gists{/gist_id}","starred_url":"https://api.github.com/users/FriendsOfSymfony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FriendsOfSymfony/subscriptions","organizations_url":"https://api.github.com/users/FriendsOfSymfony/orgs","repos_url":"https://api.github.com/users/FriendsOfSymfony/repos","events_url":"https://api.github.com/users/FriendsOfSymfony/events{/privacy}","received_events_url":"https://api.github.com/users/FriendsOfSymfony/received_events","type":"Organization","site_admin":false},"repo":{"id":1588858,"name":"FOSElasticaBundle","full_name":"FriendsOfSymfony/FOSElasticaBundle","owner":{"login":"FriendsOfSymfony","id":529709,"avatar_url":"https://avatars.githubusercontent.com/u/529709?","gravatar_id":"eedcf60e1fa2ae2d70a06b23c1cca44a","url":"https://api.github.com/users/FriendsOfSymfony","html_url":"https://github.com/FriendsOfSymfony","followers_url":"https://api.github.com/users/FriendsOfSymfony/followers","following_url":"https://api.github.com/users/FriendsOfSymfony/following{/other_user}","gists_url":"https://api.github.com/users/FriendsOfSymfony/gists{/gist_id}","starred_url":"https://api.github.com/users/FriendsOfSymfony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FriendsOfSymfony/subscriptions","organizations_url":"https://api.github.com/users/FriendsOfSymfony/orgs","repos_url":"https://api.github.com/users/FriendsOfSymfony/repos","events_url":"https://api.github.com/users/FriendsOfSymfony/events{/privacy}","received_events_url":"https://api.github.com/users/FriendsOfSymfony/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FriendsOfSymfony/FOSElasticaBundle","description":"Elasticsearch PHP integration for your Symfony2 project using Elastica","fork":false,"url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle","forks_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/forks","keys_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/teams","hooks_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/hooks","issue_events_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/issues/events{/number}","events_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/events","assignees_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/assignees{/user}","branches_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/branches{/branch}","tags_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/tags","blobs_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/languages","stargazers_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/stargazers","contributors_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/contributors","subscribers_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/subscribers","subscription_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/subscription","commits_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/issues/comments/{number}","contents_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/contents/{+path}","compare_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/merges","archive_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/downloads","issues_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/issues{/number}","pulls_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/labels{/name}","releases_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/releases{/id}","created_at":"2011-04-08T19:48:24Z","updated_at":"2014-03-26T01:42:34Z","pushed_at":"2014-03-26T01:42:34Z","git_url":"git://github.com/FriendsOfSymfony/FOSElasticaBundle.git","ssh_url":"git@github.com:FriendsOfSymfony/FOSElasticaBundle.git","clone_url":"https://github.com/FriendsOfSymfony/FOSElasticaBundle.git","svn_url":"https://github.com/FriendsOfSymfony/FOSElasticaBundle","homepage":"","size":3059,"stargazers_count":318,"watchers_count":318,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"forks_count":174,"mirror_url":null,"open_issues_count":125,"forks":174,"open_issues":125,"watchers":318,"default_branch":"master","master_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/pulls/520"},"html":{"href":"https://github.com/FriendsOfSymfony/FOSElasticaBundle/pull/520"},"issue":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/issues/520"},"comments":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/issues/520/comments"},"review_comments":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/pulls/520/comments"},"review_comment":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/pulls/520/commits"},"statuses":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/statuses/f64bea5e779e82931fc09e50c7c81ea9973da09c"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":2,"review_comments":0,"commits":1,"additions":8,"deletions":3,"changed_files":1}}