{"id":172967,"date":"2023-04-17T15:57:07","date_gmt":"2023-04-17T15:57:07","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/algolia-indexing\/"},"modified":"2026-01-05T09:24:03","modified_gmt":"2026-01-05T09:24:03","slug":"index-algolia","status":"publish","type":"plugin","link":"https:\/\/es-hn.wordpress.org\/plugins\/index-algolia\/","author":17411956,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.3.3","stable_tag":"trunk","tested":"6.8.5","requires":"5.0","requires_php":"8.0","requires_plugins":null,"header_name":"Index on Algolia","header_author":"Vigicorp","header_description":"Allow to index Wordpress content in Algolia","assets_banners_color":"","last_updated":"2026-01-05 09:24:03","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/www.vigicorp.fr","rating":0,"author_block_rating":0,"active_installs":20,"downloads":2141,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0":{"tag":"1.0","author":"theurtin","date":"2024-07-09 09:59:37"},"1.1":{"tag":"1.1","author":"theurtin","date":"2024-07-09 09:59:37"},"1.2":{"tag":"1.2","author":"theurtin","date":"2024-11-04 14:54:17"},"1.2.1":{"tag":"1.2.1","author":"theurtin","date":"2024-11-04 14:54:17"},"1.2.2":{"tag":"1.2.2","author":"theurtin","date":"2024-11-15 16:17:32"},"1.2.3":{"tag":"1.2.3","author":"theurtin","date":"2024-11-15 16:17:32"},"1.2.4":{"tag":"1.2.4","author":"theurtin","date":"2025-01-16 10:46:53"},"1.3.0":{"tag":"1.3.0","author":"theurtin","date":"2025-07-09 13:06:42"},"1.3.1":{"tag":"1.3.1","author":"theurtin","date":"2025-10-08 12:33:53"},"1.3.2":{"tag":"1.3.2","author":"theurtin","date":"2026-01-05 09:24:03"}},"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2","1.2.1","1.2.2","1.2.3","1.2.4","1.3.0","1.3.1","1.3.2"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[],"plugin_category":[],"plugin_contributors":[229391],"plugin_business_model":[],"class_list":["post-172967","plugin","type-plugin","status-publish","hentry","plugin_contributors-theurtin","plugin_committers-theurtin"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/index-algolia.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Allow to index posts into Algolia indices<\/p>\n\n<p>You will access two pages :\n- Settings : need to fill all informations needed for Algolia to work (Application ID, Search API Key, ...)\n- Indices : you can choose post types you want to index<\/p>\n\n<p>For each indice, you can :\n- Index whole posts existing (useful when enable new post type or to fix some previous missing posts)\n- Backup settings in JSON file in order to sync between multiple environments\n- Push settings from JSON into Algolia<\/p>\n\n<p>These action can be done from administration or with WP CLI (see <code>wp index-algolia<\/code> command)<\/p>\n\n<p>All post created, updated or deleted will be automatically synchronized with Algolia.<\/p>\n\n<p>By default, plugin while index data existing in WP_Post entity.\nIn order to control which data you would index, you can use <code>index_algolia_post_to_record<\/code> filter which give you post object and waiting an array in return.\nIf you use filter, your return array SHOULD at least have <code>objectID<\/code> value.<\/p>\n\n<p>Exemple :\n $post-&gt;ID,\n            'post_title' =&gt; $post-&gt;post_title,\n            'post_date'  =&gt; get_post_time( 'U', false, $post ),\n            'link'       =&gt; get_the_permalink($post),\n        ];\n\n        return $record;\n    }\n?&gt;<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload plugin folder to the \"\/wp-content\/plugins\/\" directory.<\/li>\n<li>Activate the plugin through the \"Plugins\" menu in WordPress.<\/li>\n<li>Update url in plugin settings page<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Handle backup &amp; push settings for replica<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Allow to create indice for multiple post types<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Fix autodraft post being index on Algolia<\/li>\n<\/ul>\n\n<h4>1.2.2<\/h4>\n\n<ul>\n<li>Fix autodraft post being index on Algolia<\/li>\n<\/ul>\n\n<h4>1.2.3<\/h4>\n\n<ul>\n<li>Fix autodraft post being index on Algolia using global index<\/li>\n<\/ul>\n\n<h4>1.2.4<\/h4>\n\n<ul>\n<li>Fix replica not being push on some environment<\/li>\n<\/ul>\n\n<h4>1.3.0<\/h4>\n\n<p>Add filter on records before push on Algolia<\/p>\n\n<h4>1.3.1<\/h4>\n\n<p>Fix post indexing on global index even if disable<\/p>\n\n<h4>1.3.2<\/h4>\n\n<p>Fix indexation replica on push settings<\/p>\n\n<h4>1.3.3<\/h4>\n\n<p>Fix post indexation on wrong status<\/p>","raw_excerpt":"Allow to index posts into Algolia indices","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/es-hn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/172967","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/es-hn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/es-hn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/es-hn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=172967"}],"author":[{"embeddable":true,"href":"https:\/\/es-hn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/theurtin"}],"wp:attachment":[{"href":"https:\/\/es-hn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=172967"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/es-hn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=172967"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/es-hn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=172967"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/es-hn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=172967"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/es-hn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=172967"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/es-hn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=172967"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}