{"action":"opened","number":421,"pull_request":{"url":"https://api.github.com/repos/10up/ElasticPress/pulls/421","id":55811800,"html_url":"https://github.com/10up/ElasticPress/pull/421","diff_url":"https://github.com/10up/ElasticPress/pull/421.diff","patch_url":"https://github.com/10up/ElasticPress/pull/421.patch","issue_url":"https://api.github.com/repos/10up/ElasticPress/issues/421","number":421,"state":"open","locked":false,"title":"By default check raw meta query value for meta_query","user":{"login":"tlovett1","id":1844351,"avatar_url":"https://avatars.githubusercontent.com/u/1844351?v=3","gravatar_id":"","url":"https://api.github.com/users/tlovett1","html_url":"https://github.com/tlovett1","followers_url":"https://api.github.com/users/tlovett1/followers","following_url":"https://api.github.com/users/tlovett1/following{/other_user}","gists_url":"https://api.github.com/users/tlovett1/gists{/gist_id}","starred_url":"https://api.github.com/users/tlovett1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tlovett1/subscriptions","organizations_url":"https://api.github.com/users/tlovett1/orgs","repos_url":"https://api.github.com/users/tlovett1/repos","events_url":"https://api.github.com/users/tlovett1/events{/privacy}","received_events_url":"https://api.github.com/users/tlovett1/received_events","type":"User","site_admin":false},"body":"In a meta query (not a search query), we should check the `raw` property instead of `value`. `value` is analyzed which is not needed for non-search.\r\n\r\n@allan23 please review.","created_at":"2016-01-12T20:24:41Z","updated_at":"2016-01-12T20:24:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/10up/ElasticPress/pulls/421/commits","review_comments_url":"https://api.github.com/repos/10up/ElasticPress/pulls/421/comments","review_comment_url":"https://api.github.com/repos/10up/ElasticPress/pulls/comments{/number}","comments_url":"https://api.github.com/repos/10up/ElasticPress/issues/421/comments","statuses_url":"https://api.github.com/repos/10up/ElasticPress/statuses/4ddb5b850f079363b9d6e7df44a82d4f9488f17f","head":{"label":"10up:bug/meta-query-raw","ref":"bug/meta-query-raw","sha":"4ddb5b850f079363b9d6e7df44a82d4f9488f17f","user":{"login":"10up","id":3358927,"avatar_url":"https://avatars.githubusercontent.com/u/3358927?v=3","gravatar_id":"","url":"https://api.github.com/users/10up","html_url":"https://github.com/10up","followers_url":"https://api.github.com/users/10up/followers","following_url":"https://api.github.com/users/10up/following{/other_user}","gists_url":"https://api.github.com/users/10up/gists{/gist_id}","starred_url":"https://api.github.com/users/10up/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/10up/subscriptions","organizations_url":"https://api.github.com/users/10up/orgs","repos_url":"https://api.github.com/users/10up/repos","events_url":"https://api.github.com/users/10up/events{/privacy}","received_events_url":"https://api.github.com/users/10up/received_events","type":"Organization","site_admin":false},"repo":{"id":20672392,"name":"ElasticPress","full_name":"10up/ElasticPress","owner":{"login":"10up","id":3358927,"avatar_url":"https://avatars.githubusercontent.com/u/3358927?v=3","gravatar_id":"","url":"https://api.github.com/users/10up","html_url":"https://github.com/10up","followers_url":"https://api.github.com/users/10up/followers","following_url":"https://api.github.com/users/10up/following{/other_user}","gists_url":"https://api.github.com/users/10up/gists{/gist_id}","starred_url":"https://api.github.com/users/10up/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/10up/subscriptions","organizations_url":"https://api.github.com/users/10up/orgs","repos_url":"https://api.github.com/users/10up/repos","events_url":"https://api.github.com/users/10up/events{/privacy}","received_events_url":"https://api.github.com/users/10up/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/10up/ElasticPress","description":"A plugin for integrating WordPress with Elasticsearch","fork":false,"url":"https://api.github.com/repos/10up/ElasticPress","forks_url":"https://api.github.com/repos/10up/ElasticPress/forks","keys_url":"https://api.github.com/repos/10up/ElasticPress/keys{/key_id}","collaborators_url":"https://api.github.com/repos/10up/ElasticPress/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/10up/ElasticPress/teams","hooks_url":"https://api.github.com/repos/10up/ElasticPress/hooks","issue_events_url":"https://api.github.com/repos/10up/ElasticPress/issues/events{/number}","events_url":"https://api.github.com/repos/10up/ElasticPress/events","assignees_url":"https://api.github.com/repos/10up/ElasticPress/assignees{/user}","branches_url":"https://api.github.com/repos/10up/ElasticPress/branches{/branch}","tags_url":"https://api.github.com/repos/10up/ElasticPress/tags","blobs_url":"https://api.github.com/repos/10up/ElasticPress/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/10up/ElasticPress/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/10up/ElasticPress/git/refs{/sha}","trees_url":"https://api.github.com/repos/10up/ElasticPress/git/trees{/sha}","statuses_url":"https://api.github.com/repos/10up/ElasticPress/statuses/{sha}","languages_url":"https://api.github.com/repos/10up/ElasticPress/languages","stargazers_url":"https://api.github.com/repos/10up/ElasticPress/stargazers","contributors_url":"https://api.github.com/repos/10up/ElasticPress/contributors","subscribers_url":"https://api.github.com/repos/10up/ElasticPress/subscribers","subscription_url":"https://api.github.com/repos/10up/ElasticPress/subscription","commits_url":"https://api.github.com/repos/10up/ElasticPress/commits{/sha}","git_commits_url":"https://api.github.com/repos/10up/ElasticPress/git/commits{/sha}","comments_url":"https://api.github.com/repos/10up/ElasticPress/comments{/number}","issue_comment_url":"https://api.github.com/repos/10up/ElasticPress/issues/comments{/number}","contents_url":"https://api.github.com/repos/10up/ElasticPress/contents/{+path}","compare_url":"https://api.github.com/repos/10up/ElasticPress/compare/{base}...{head}","merges_url":"https://api.github.com/repos/10up/ElasticPress/merges","archive_url":"https://api.github.com/repos/10up/ElasticPress/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/10up/ElasticPress/downloads","issues_url":"https://api.github.com/repos/10up/ElasticPress/issues{/number}","pulls_url":"https://api.github.com/repos/10up/ElasticPress/pulls{/number}","milestones_url":"https://api.github.com/repos/10up/ElasticPress/milestones{/number}","notifications_url":"https://api.github.com/repos/10up/ElasticPress/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/10up/ElasticPress/labels{/name}","releases_url":"https://api.github.com/repos/10up/ElasticPress/releases{/id}","created_at":"2014-06-10T04:29:30Z","updated_at":"2016-01-12T15:33:49Z","pushed_at":"2016-01-12T20:22:45Z","git_url":"git://github.com/10up/ElasticPress.git","ssh_url":"git@github.com:10up/ElasticPress.git","clone_url":"https://github.com/10up/ElasticPress.git","svn_url":"https://github.com/10up/ElasticPress","homepage":"","size":1226,"stargazers_count":272,"watchers_count":272,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":67,"mirror_url":null,"open_issues_count":61,"forks":67,"open_issues":61,"watchers":272,"default_branch":"develop"}},"base":{"label":"10up:develop","ref":"develop","sha":"5a876d85c6fb46a788ead853e390d435cc8b1e1d","user":{"login":"10up","id":3358927,"avatar_url":"https://avatars.githubusercontent.com/u/3358927?v=3","gravatar_id":"","url":"https://api.github.com/users/10up","html_url":"https://github.com/10up","followers_url":"https://api.github.com/users/10up/followers","following_url":"https://api.github.com/users/10up/following{/other_user}","gists_url":"https://api.github.com/users/10up/gists{/gist_id}","starred_url":"https://api.github.com/users/10up/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/10up/subscriptions","organizations_url":"https://api.github.com/users/10up/orgs","repos_url":"https://api.github.com/users/10up/repos","events_url":"https://api.github.com/users/10up/events{/privacy}","received_events_url":"https://api.github.com/users/10up/received_events","type":"Organization","site_admin":false},"repo":{"id":20672392,"name":"ElasticPress","full_name":"10up/ElasticPress","owner":{"login":"10up","id":3358927,"avatar_url":"https://avatars.githubusercontent.com/u/3358927?v=3","gravatar_id":"","url":"https://api.github.com/users/10up","html_url":"https://github.com/10up","followers_url":"https://api.github.com/users/10up/followers","following_url":"https://api.github.com/users/10up/following{/other_user}","gists_url":"https://api.github.com/users/10up/gists{/gist_id}","starred_url":"https://api.github.com/users/10up/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/10up/subscriptions","organizations_url":"https://api.github.com/users/10up/orgs","repos_url":"https://api.github.com/users/10up/repos","events_url":"https://api.github.com/users/10up/events{/privacy}","received_events_url":"https://api.github.com/users/10up/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/10up/ElasticPress","description":"A plugin for integrating WordPress with Elasticsearch","fork":false,"url":"https://api.github.com/repos/10up/ElasticPress","forks_url":"https://api.github.com/repos/10up/ElasticPress/forks","keys_url":"https://api.github.com/repos/10up/ElasticPress/keys{/key_id}","collaborators_url":"https://api.github.com/repos/10up/ElasticPress/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/10up/ElasticPress/teams","hooks_url":"https://api.github.com/repos/10up/ElasticPress/hooks","issue_events_url":"https://api.github.com/repos/10up/ElasticPress/issues/events{/number}","events_url":"https://api.github.com/repos/10up/ElasticPress/events","assignees_url":"https://api.github.com/repos/10up/ElasticPress/assignees{/user}","branches_url":"https://api.github.com/repos/10up/ElasticPress/branches{/branch}","tags_url":"https://api.github.com/repos/10up/ElasticPress/tags","blobs_url":"https://api.github.com/repos/10up/ElasticPress/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/10up/ElasticPress/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/10up/ElasticPress/git/refs{/sha}","trees_url":"https://api.github.com/repos/10up/ElasticPress/git/trees{/sha}","statuses_url":"https://api.github.com/repos/10up/ElasticPress/statuses/{sha}","languages_url":"https://api.github.com/repos/10up/ElasticPress/languages","stargazers_url":"https://api.github.com/repos/10up/ElasticPress/stargazers","contributors_url":"https://api.github.com/repos/10up/ElasticPress/contributors","subscribers_url":"https://api.github.com/repos/10up/ElasticPress/subscribers","subscription_url":"https://api.github.com/repos/10up/ElasticPress/subscription","commits_url":"https://api.github.com/repos/10up/ElasticPress/commits{/sha}","git_commits_url":"https://api.github.com/repos/10up/ElasticPress/git/commits{/sha}","comments_url":"https://api.github.com/repos/10up/ElasticPress/comments{/number}","issue_comment_url":"https://api.github.com/repos/10up/ElasticPress/issues/comments{/number}","contents_url":"https://api.github.com/repos/10up/ElasticPress/contents/{+path}","compare_url":"https://api.github.com/repos/10up/ElasticPress/compare/{base}...{head}","merges_url":"https://api.github.com/repos/10up/ElasticPress/merges","archive_url":"https://api.github.com/repos/10up/ElasticPress/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/10up/ElasticPress/downloads","issues_url":"https://api.github.com/repos/10up/ElasticPress/issues{/number}","pulls_url":"https://api.github.com/repos/10up/ElasticPress/pulls{/number}","milestones_url":"https://api.github.com/repos/10up/ElasticPress/milestones{/number}","notifications_url":"https://api.github.com/repos/10up/ElasticPress/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/10up/ElasticPress/labels{/name}","releases_url":"https://api.github.com/repos/10up/ElasticPress/releases{/id}","created_at":"2014-06-10T04:29:30Z","updated_at":"2016-01-12T15:33:49Z","pushed_at":"2016-01-12T20:22:45Z","git_url":"git://github.com/10up/ElasticPress.git","ssh_url":"git@github.com:10up/ElasticPress.git","clone_url":"https://github.com/10up/ElasticPress.git","svn_url":"https://github.com/10up/ElasticPress","homepage":"","size":1226,"stargazers_count":272,"watchers_count":272,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":67,"mirror_url":null,"open_issues_count":61,"forks":67,"open_issues":61,"watchers":272,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/10up/ElasticPress/pulls/421"},"html":{"href":"https://github.com/10up/ElasticPress/pull/421"},"issue":{"href":"https://api.github.com/repos/10up/ElasticPress/issues/421"},"comments":{"href":"https://api.github.com/repos/10up/ElasticPress/issues/421/comments"},"review_comments":{"href":"https://api.github.com/repos/10up/ElasticPress/pulls/421/comments"},"review_comment":{"href":"https://api.github.com/repos/10up/ElasticPress/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/10up/ElasticPress/pulls/421/commits"},"statuses":{"href":"https://api.github.com/repos/10up/ElasticPress/statuses/4ddb5b850f079363b9d6e7df44a82d4f9488f17f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":56,"deletions":3,"changed_files":1}}