{"action":"closed","issue":{"url":"https://api.github.com/repos/10up/ElasticPress/issues/1120","repository_url":"https://api.github.com/repos/10up/ElasticPress","labels_url":"https://api.github.com/repos/10up/ElasticPress/issues/1120/labels{/name}","comments_url":"https://api.github.com/repos/10up/ElasticPress/issues/1120/comments","events_url":"https://api.github.com/repos/10up/ElasticPress/issues/1120/events","html_url":"https://github.com/10up/ElasticPress/issues/1120","id":350286224,"node_id":"MDU6SXNzdWUzNTAyODYyMjQ=","number":1120,"title":"Plugin's taxonomy not being indexed with posts","user":{"login":"stirrell","id":2236935,"node_id":"MDQ6VXNlcjIyMzY5MzU=","avatar_url":"https://avatars0.githubusercontent.com/u/2236935?v=4","gravatar_id":"","url":"https://api.github.com/users/stirrell","html_url":"https://github.com/stirrell","followers_url":"https://api.github.com/users/stirrell/followers","following_url":"https://api.github.com/users/stirrell/following{/other_user}","gists_url":"https://api.github.com/users/stirrell/gists{/gist_id}","starred_url":"https://api.github.com/users/stirrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stirrell/subscriptions","organizations_url":"https://api.github.com/users/stirrell/orgs","repos_url":"https://api.github.com/users/stirrell/repos","events_url":"https://api.github.com/users/stirrell/events{/privacy}","received_events_url":"https://api.github.com/users/stirrell/received_events","type":"User","site_admin":false},"labels":[{"id":1045518589,"node_id":"MDU6TGFiZWwxMDQ1NTE4NTg5","url":"https://api.github.com/repos/10up/ElasticPress/labels/Needs%20External%20Feedback","name":"Needs External Feedback","color":"9df48b","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-08-14T05:34:16Z","updated_at":"2018-09-24T17:33:30Z","closed_at":"2018-09-24T17:33:29Z","author_association":"NONE","body":"Have you searched for similar issues before submitting this one?\r\nYes.\r\n\r\nIs this a bug, question or feature request?\r\nQuestion.\r\n\r\nDescribe the issue you encountered:\r\nI have the plugin, Agora Middleware 2.x Authentication Plugin, installed and it registers a taxonomy using the following code:\r\n```\r\n$register_taxonomy_args = array(\r\n\t\t\t'hierarchical' => true,\r\n\t\t\t'labels' => array(\r\n\t\t\t\t'name' => _x( 'Pubcodes', 'taxonomy general name' ),\r\n\t\t\t\t'singular_name' => _x( 'Pubcode', 'taxonomy singular name' ),\r\n\t\t\t\t'search_items' =>  __( 'Search Pubcodes' ),\r\n\t\t\t\t'popular_items' => __( 'Popular Pubcodes' ),\r\n\t\t\t\t'all_items' => __( 'All Pubcodes' ),\r\n\t\t\t\t'parent_item' => null,\r\n\t\t\t\t'parent_item_colon' => null,\r\n\t\t\t\t'edit_item' => __( 'Edit Pubcode' ),\r\n\t\t\t\t'update_item' => __( 'Update Pubcode' ),\r\n\t\t\t\t'add_new_item' => __( 'Add New Pubcode' ),\r\n\t\t\t\t'new_item_name' => __( 'New Pubcode Name' ),\r\n\t\t\t\t'separate_items_with_commas' => __( 'Separate pubcodes with commas' ),\r\n\t\t\t\t'add_or_remove_items' => __( 'Add or remove pubcodes' ),\r\n\t\t\t\t'choose_from_most_used' => __( 'Choose from the most used pubcodes' )\r\n\t\t\t),\r\n\t\t\t'query_var' => true,\r\n\t\t\t'show_tagcloud' => false,\r\n\t\t\t'show_in_quick_edit' => true,\r\n\t\t\t'show_ui' => false\r\n\t\t);\r\n\t\tregister_taxonomy( 'pubcode', $post_types ,$register_taxonomy_args );\r\n```\r\n\r\nWhen I search on this information, I get no results. I queried one of the posts with a term from the taxonomy set and verified that it does not include information for that taxonomy in Elasticsearch. I tried to set `publicly_queryable` to true and re-indexed but that did not help.\r\n\r\nCurrent WordPress version:\r\n4.9.8\r\n\r\nCurrent ElasticPress version:\r\n2.5.2\r\n\r\nCurrent Elasticsearch version:\r\n6.0.1\r\n\r\nWhere do you host your Elasticsearch server:\r\nAmazon AWS\r\n\r\nOther plugins installed (WooCommerce, Simple Redirect Manager, etc..):\r\nAdvanced Custom Fields PRO, bbPress, Contact Form 7, Wordfence, Yoast.\r\n\r\nSteps to reproduce:\r\n\r\n1. Index posts using WP-CLI (`wp elasticsearch index --url=<site>`) - I tried indexing separately because I read some information about taxonomies and multi-sites not working without a bash shell workaround (https://github.com/10up/ElasticPress/issues/334) and thought this might be related.\r\n\r\nHere is what the test record looks like in the database:\r\n![image](https://user-images.githubusercontent.com/2236935/44073460-fd006570-9f61-11e8-80bb-8bdc7ca0c7e8.png)\r\n\r\nI am just seeing `category` items being stored as part of the record in Elasticsearch. Any ideas, suggestions would be greatly appreciated. Thanks!"}}
{"actor":{"display_login":"allan23"}}