{"action":"opened","number":1178,"pull_request":{"url":"https://api.github.com/repos/ruflin/Elastica/pulls/1178","id":86931168,"html_url":"https://github.com/ruflin/Elastica/pull/1178","diff_url":"https://github.com/ruflin/Elastica/pull/1178.diff","patch_url":"https://github.com/ruflin/Elastica/pull/1178.patch","issue_url":"https://api.github.com/repos/ruflin/Elastica/issues/1178","number":1178,"state":"open","locked":false,"title":"Add a constant for the expression language.","user":{"login":"ChristopheBoucaut","id":2339969,"avatar_url":"https://avatars.githubusercontent.com/u/2339969?v=3","gravatar_id":"","url":"https://api.github.com/users/ChristopheBoucaut","html_url":"https://github.com/ChristopheBoucaut","followers_url":"https://api.github.com/users/ChristopheBoucaut/followers","following_url":"https://api.github.com/users/ChristopheBoucaut/following{/other_user}","gists_url":"https://api.github.com/users/ChristopheBoucaut/gists{/gist_id}","starred_url":"https://api.github.com/users/ChristopheBoucaut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChristopheBoucaut/subscriptions","organizations_url":"https://api.github.com/users/ChristopheBoucaut/orgs","repos_url":"https://api.github.com/users/ChristopheBoucaut/repos","events_url":"https://api.github.com/users/ChristopheBoucaut/events{/privacy}","received_events_url":"https://api.github.com/users/ChristopheBoucaut/received_events","type":"User","site_admin":false},"body":"Just add a constant for the _expression_ language. It exists since ES 1.3 (maybe before) : https://www.elastic.co/guide/en/elasticsearch/reference/1.7/modules-scripting.html","created_at":"2016-09-27T13:36:34Z","updated_at":"2016-09-27T13:36:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ruflin/Elastica/pulls/1178/commits","review_comments_url":"https://api.github.com/repos/ruflin/Elastica/pulls/1178/comments","review_comment_url":"https://api.github.com/repos/ruflin/Elastica/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ruflin/Elastica/issues/1178/comments","statuses_url":"https://api.github.com/repos/ruflin/Elastica/statuses/8fe0b56d644668048962c6968db0bcc6a8064f48","head":{"label":"ChristopheBoucaut:master","ref":"master","sha":"8fe0b56d644668048962c6968db0bcc6a8064f48","user":{"login":"ChristopheBoucaut","id":2339969,"avatar_url":"https://avatars.githubusercontent.com/u/2339969?v=3","gravatar_id":"","url":"https://api.github.com/users/ChristopheBoucaut","html_url":"https://github.com/ChristopheBoucaut","followers_url":"https://api.github.com/users/ChristopheBoucaut/followers","following_url":"https://api.github.com/users/ChristopheBoucaut/following{/other_user}","gists_url":"https://api.github.com/users/ChristopheBoucaut/gists{/gist_id}","starred_url":"https://api.github.com/users/ChristopheBoucaut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChristopheBoucaut/subscriptions","organizations_url":"https://api.github.com/users/ChristopheBoucaut/orgs","repos_url":"https://api.github.com/users/ChristopheBoucaut/repos","events_url":"https://api.github.com/users/ChristopheBoucaut/events{/privacy}","received_events_url":"https://api.github.com/users/ChristopheBoucaut/received_events","type":"User","site_admin":false},"repo":{"id":61016912,"name":"Elastica","full_name":"ChristopheBoucaut/Elastica","owner":{"login":"ChristopheBoucaut","id":2339969,"avatar_url":"https://avatars.githubusercontent.com/u/2339969?v=3","gravatar_id":"","url":"https://api.github.com/users/ChristopheBoucaut","html_url":"https://github.com/ChristopheBoucaut","followers_url":"https://api.github.com/users/ChristopheBoucaut/followers","following_url":"https://api.github.com/users/ChristopheBoucaut/following{/other_user}","gists_url":"https://api.github.com/users/ChristopheBoucaut/gists{/gist_id}","starred_url":"https://api.github.com/users/ChristopheBoucaut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChristopheBoucaut/subscriptions","organizations_url":"https://api.github.com/users/ChristopheBoucaut/orgs","repos_url":"https://api.github.com/users/ChristopheBoucaut/repos","events_url":"https://api.github.com/users/ChristopheBoucaut/events{/privacy}","received_events_url":"https://api.github.com/users/ChristopheBoucaut/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ChristopheBoucaut/Elastica","description":"Elastica is a PHP client for elasticsearch","fork":true,"url":"https://api.github.com/repos/ChristopheBoucaut/Elastica","forks_url":"https://api.github.com/repos/ChristopheBoucaut/Elastica/forks","keys_url":"https://api.github.com/repos/ChristopheBoucaut/Elastica/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ChristopheBoucaut/Elastica/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ChristopheBoucaut/Elastica/teams","hooks_url":"https://api.github.com/repos/ChristopheBoucaut/Elastica/hooks","issue_events_url":"https://api.github.com/repos/ChristopheBoucaut/Elastica/issues/events{/number}","events_url":"https://api.github.com/repos/ChristopheBoucaut/Elastica/events","assignees_url":"https://api.github.com/repos/ChristopheBoucaut/Elastica/assignees{/user}","branches_url":"https://api.github.com/repos/ChristopheBoucaut/Elastica/branches{/branch}","tags_url":"https://api.github.com/repos/ChristopheBoucaut/Elastica/tags","blobs_url":"https://api.github.com/repos/ChristopheBoucaut/Elastica/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ChristopheBoucaut/Elastica/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ChristopheBoucaut/Elastica/git/refs{/sha}","trees_url":"https://api.github.com/repos/ChristopheBoucaut/Elastica/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ChristopheBoucaut/Elastica/statuses/{sha}","languages_url":"https://api.github.com/repos/ChristopheBoucaut/Elastica/languages","stargazers_url":"https://api.github.com/repos/ChristopheBoucaut/Elastica/stargazers","contributors_url":"https://api.github.com/repos/ChristopheBoucaut/Elastica/contributors","subscribers_url":"https://api.github.com/repos/ChristopheBoucaut/Elastica/subscribers","subscription_url":"https://api.github.com/repos/ChristopheBoucaut/Elastica/subscription","commits_url":"https://api.github.com/repos/ChristopheBoucaut/Elastica/commits{/sha}","git_commits_url":"https://api.github.com/repos/ChristopheBoucaut/Elastica/git/commits{/sha}","comments_url":"https://api.github.com/repos/ChristopheBoucaut/Elastica/comments{/number}","issue_comment_url":"https://api.github.com/repos/ChristopheBoucaut/Elastica/issues/comments{/number}","contents_url":"https://api.github.com/repos/ChristopheBoucaut/Elastica/contents/{+path}","compare_url":"https://api.github.com/repos/ChristopheBoucaut/Elastica/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ChristopheBoucaut/Elastica/merges","archive_url":"https://api.github.com/repos/ChristopheBoucaut/Elastica/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ChristopheBoucaut/Elastica/downloads","issues_url":"https://api.github.com/repos/ChristopheBoucaut/Elastica/issues{/number}","pulls_url":"https://api.github.com/repos/ChristopheBoucaut/Elastica/pulls{/number}","milestones_url":"https://api.github.com/repos/ChristopheBoucaut/Elastica/milestones{/number}","notifications_url":"https://api.github.com/repos/ChristopheBoucaut/Elastica/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ChristopheBoucaut/Elastica/labels{/name}","releases_url":"https://api.github.com/repos/ChristopheBoucaut/Elastica/releases{/id}","deployments_url":"https://api.github.com/repos/ChristopheBoucaut/Elastica/deployments","created_at":"2016-06-13T07:40:27Z","updated_at":"2016-06-13T07:40:29Z","pushed_at":"2016-09-27T13:32:08Z","git_url":"git://github.com/ChristopheBoucaut/Elastica.git","ssh_url":"git@github.com:ChristopheBoucaut/Elastica.git","clone_url":"https://github.com/ChristopheBoucaut/Elastica.git","svn_url":"https://github.com/ChristopheBoucaut/Elastica","homepage":"http://elastica.io/","size":11187,"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":"ruflin:master","ref":"master","sha":"02bf2fbb8ad6b679869af145eed89436a1c50229","user":{"login":"ruflin","id":244900,"avatar_url":"https://avatars.githubusercontent.com/u/244900?v=3","gravatar_id":"","url":"https://api.github.com/users/ruflin","html_url":"https://github.com/ruflin","followers_url":"https://api.github.com/users/ruflin/followers","following_url":"https://api.github.com/users/ruflin/following{/other_user}","gists_url":"https://api.github.com/users/ruflin/gists{/gist_id}","starred_url":"https://api.github.com/users/ruflin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruflin/subscriptions","organizations_url":"https://api.github.com/users/ruflin/orgs","repos_url":"https://api.github.com/users/ruflin/repos","events_url":"https://api.github.com/users/ruflin/events{/privacy}","received_events_url":"https://api.github.com/users/ruflin/received_events","type":"User","site_admin":false},"repo":{"id":1006445,"name":"Elastica","full_name":"ruflin/Elastica","owner":{"login":"ruflin","id":244900,"avatar_url":"https://avatars.githubusercontent.com/u/244900?v=3","gravatar_id":"","url":"https://api.github.com/users/ruflin","html_url":"https://github.com/ruflin","followers_url":"https://api.github.com/users/ruflin/followers","following_url":"https://api.github.com/users/ruflin/following{/other_user}","gists_url":"https://api.github.com/users/ruflin/gists{/gist_id}","starred_url":"https://api.github.com/users/ruflin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruflin/subscriptions","organizations_url":"https://api.github.com/users/ruflin/orgs","repos_url":"https://api.github.com/users/ruflin/repos","events_url":"https://api.github.com/users/ruflin/events{/privacy}","received_events_url":"https://api.github.com/users/ruflin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ruflin/Elastica","description":"Elastica is a PHP client for elasticsearch","fork":false,"url":"https://api.github.com/repos/ruflin/Elastica","forks_url":"https://api.github.com/repos/ruflin/Elastica/forks","keys_url":"https://api.github.com/repos/ruflin/Elastica/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ruflin/Elastica/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ruflin/Elastica/teams","hooks_url":"https://api.github.com/repos/ruflin/Elastica/hooks","issue_events_url":"https://api.github.com/repos/ruflin/Elastica/issues/events{/number}","events_url":"https://api.github.com/repos/ruflin/Elastica/events","assignees_url":"https://api.github.com/repos/ruflin/Elastica/assignees{/user}","branches_url":"https://api.github.com/repos/ruflin/Elastica/branches{/branch}","tags_url":"https://api.github.com/repos/ruflin/Elastica/tags","blobs_url":"https://api.github.com/repos/ruflin/Elastica/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ruflin/Elastica/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ruflin/Elastica/git/refs{/sha}","trees_url":"https://api.github.com/repos/ruflin/Elastica/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ruflin/Elastica/statuses/{sha}","languages_url":"https://api.github.com/repos/ruflin/Elastica/languages","stargazers_url":"https://api.github.com/repos/ruflin/Elastica/stargazers","contributors_url":"https://api.github.com/repos/ruflin/Elastica/contributors","subscribers_url":"https://api.github.com/repos/ruflin/Elastica/subscribers","subscription_url":"https://api.github.com/repos/ruflin/Elastica/subscription","commits_url":"https://api.github.com/repos/ruflin/Elastica/commits{/sha}","git_commits_url":"https://api.github.com/repos/ruflin/Elastica/git/commits{/sha}","comments_url":"https://api.github.com/repos/ruflin/Elastica/comments{/number}","issue_comment_url":"https://api.github.com/repos/ruflin/Elastica/issues/comments{/number}","contents_url":"https://api.github.com/repos/ruflin/Elastica/contents/{+path}","compare_url":"https://api.github.com/repos/ruflin/Elastica/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ruflin/Elastica/merges","archive_url":"https://api.github.com/repos/ruflin/Elastica/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ruflin/Elastica/downloads","issues_url":"https://api.github.com/repos/ruflin/Elastica/issues{/number}","pulls_url":"https://api.github.com/repos/ruflin/Elastica/pulls{/number}","milestones_url":"https://api.github.com/repos/ruflin/Elastica/milestones{/number}","notifications_url":"https://api.github.com/repos/ruflin/Elastica/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ruflin/Elastica/labels{/name}","releases_url":"https://api.github.com/repos/ruflin/Elastica/releases{/id}","deployments_url":"https://api.github.com/repos/ruflin/Elastica/deployments","created_at":"2010-10-19T17:04:21Z","updated_at":"2016-09-27T06:42:57Z","pushed_at":"2016-09-23T14:00:15Z","git_url":"git://github.com/ruflin/Elastica.git","ssh_url":"git@github.com:ruflin/Elastica.git","clone_url":"https://github.com/ruflin/Elastica.git","svn_url":"https://github.com/ruflin/Elastica","homepage":"http://elastica.io/","size":66524,"stargazers_count":1298,"watchers_count":1298,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":510,"mirror_url":null,"open_issues_count":87,"forks":510,"open_issues":87,"watchers":1298,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ruflin/Elastica/pulls/1178"},"html":{"href":"https://github.com/ruflin/Elastica/pull/1178"},"issue":{"href":"https://api.github.com/repos/ruflin/Elastica/issues/1178"},"comments":{"href":"https://api.github.com/repos/ruflin/Elastica/issues/1178/comments"},"review_comments":{"href":"https://api.github.com/repos/ruflin/Elastica/pulls/1178/comments"},"review_comment":{"href":"https://api.github.com/repos/ruflin/Elastica/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ruflin/Elastica/pulls/1178/commits"},"statuses":{"href":"https://api.github.com/repos/ruflin/Elastica/statuses/8fe0b56d644668048962c6968db0bcc6a8064f48"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"ChristopheBoucaut"}}