{"id":378621,"date":"2023-04-27T10:27:33","date_gmt":"2023-04-27T10:27:33","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=378621"},"modified":"2026-01-07T05:13:55","modified_gmt":"2026-01-07T05:13:55","slug":"how-to-create-custom-indexer-in-magento","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/how-to-create-custom-indexer-in-magento\/","title":{"rendered":"How to create custom indexer in magento 2"},"content":{"rendered":"\n<p><strong>Create a custom indexer in Magento 2<\/strong> when you need precomputed data for fast storefront reads.<br>In this guide, you\u2019ll learn why, when, and how to implement a robust indexer step-by-step.<\/p>\n\n\n\n<p><strong>Why create a custom indexer?<\/strong><\/p>\n\n\n\n<p>First, an <a href=\"https:\/\/developer.adobe.com\/commerce\/php\/development\/components\/indexing\/\">indexer<\/a> precomputes expensive queries so pages load quickly.<br>Therefore, it avoids heavy joins and runtime aggregations on each request.<\/p>\n\n\n\n<p>For example, a marketplace needs the <strong>lowest vendor price<\/strong> per product ready to read.<br>As a result, the category page queries a small index table instead of aggregating many rows.<\/p>\n\n\n\n<p><strong>When should you build an indexer?<\/strong><\/p>\n\n\n\n<p>Create one when runtime calculations noticeably slow pages or APIs.<br>For instance, use an indexer for custom ranking, aggregated metrics, or multi-source pricing.<\/p>\n\n\n\n<p>However, avoid indexers for trivial values that are cheap to compute on demand.<br>Instead, weigh complexity versus performance benefits before adding one.<\/p>\n\n\n\n<p><strong>High-level components (what you must provide)<\/strong><\/p>\n\n\n\n<p>First, declare the indexer in <code>etc\/indexer.xml<\/code>.<br>Next, configure change-tracking in <code>etc\/mview.xml<\/code> for schedule mode.<\/p>\n\n\n\n<p>Then, implement an indexer class with full and incremental methods.<br>Finally, optionally add observers to call <code>reindexRow()<\/code> on model saves.<\/p>\n\n\n\n<p><code><em><strong>etc\/indexer.xml<\/strong><\/em><\/code><\/p>\n\n\n\n<p>This file registers the indexer ID and processor class.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;?xml version=&quot;1.0&quot;?&gt;\n&lt;config xmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot; xsi:noNamespaceSchemaLocation=&quot;urn:magento:framework:Indexer\/etc\/indexer.xsd&quot;&gt;\n&lt;indexer id=&quot;vendor_price_indexer&quot;\n         view_id=&quot;vendor_price_indexer_view&quot;\n         class=&quot;Vendor\\PriceIndexer\\Model\\Indexer\\PriceIndexer&quot;&gt;\n    &lt;title&gt;Custom Indexer&lt;\/title&gt;\n    &lt;description&gt;Custom Indexer&lt;\/description&gt;\n&lt;\/indexer&gt;\n&lt;\/config&gt;<\/pre>\n\n\n\n<p>Note: <code><em>view_id<\/em><\/code> links the indexer to the mview subscription.<br>Moreover, Magento uses this declaration to show the indexer in admin.<\/p>\n\n\n\n<p><code><em><strong>etc\/mview.xml<\/strong><\/em><\/code><\/p>\n\n\n\n<p>Use <code><em>mview.xml<\/em><\/code> to subscribe to tables for change detection.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;?xml version=&quot;1.0&quot;?&gt;\n&lt;config xmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot; xsi:noNamespaceSchemaLocation=&quot;urn:magento:framework:Mview\/etc\/mview.xsd&quot;&gt;\n&lt;view id=&quot;vendor_price_indexer_view&quot; class=&quot;Vendor\\PriceIndexer\\Model\\Indexer\\PriceIndexer&quot; group=&quot;indexer&quot;&gt;\n    &lt;subscriptions&gt;\n        &lt;table name=&quot;vendor_prices&quot; entity_column=&quot;entity_id&quot; \/&gt;\n    &lt;\/subscriptions&gt;\n&lt;\/view&gt;\n&lt;\/config&gt;<\/pre>\n\n\n\n<p>Therefore, changes to those tables are captured in the changelog for scheduled processing.<br>Consequently, cron + MView will call your <code><em>execute()<\/em><\/code> periodically.<\/p>\n\n\n\n<p><strong>Indexer class responsibilities (interfaces &amp; methods)<\/strong><\/p>\n\n\n\n<p>Your indexer must implement <code><em>\\Magento\\Framework\\Indexer\\ActionInterface<\/em><\/code>.<br>Also implement <code><em>\\Magento\\Framework\\Mview\\ActionInterface<\/em><\/code> to support schedule mode.<\/p>\n\n\n\n<p>You must provide these methods:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code><em>executeFull()<\/em><\/code> \u2014 rebuild entire index.<\/li>\n\n\n\n<li><code><em>executeList(array $ids)<\/em><\/code> \u2014 reindex a batch.<\/li>\n\n\n\n<li><code><em>executeRow($id)<\/em><\/code> \u2014 reindex a single entity.<\/li>\n\n\n\n<li><code><em>execute($ids)<\/em><\/code> \u2014 called by MView; map changelog ids \u2192 entity ids and call incremental update.<\/li>\n<\/ul>\n\n\n\n<p><strong>Skeleton indexer (conceptual)<\/strong><\/p>\n\n\n\n<p>Below is a compact class outline you can adapt.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">class PriceIndexer implements \\Magento\\Framework\\Indexer\\ActionInterface, \\Magento\\Framework\\Mview\\ActionInterface\n{\n    public function execute($ids) { \/* map changelog ids, call executeList *\/ }\n    public function executeFull() { \/* rebuild index table *\/ }\n    public function executeList(array $ids) { \/* update these product ids *\/ }\n    public function executeRow($id) { $this-&gt;executeList(&#091;(int)$id]); }\n}<\/pre>\n\n\n\n<p>This pattern separates full and incremental flows.<br>Thus, incremental updates stay fast and avoid heavy full rebuilds.<\/p>\n\n\n\n<p><strong>Indexer Update modes: update_on_save vs schedule<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1189\" height=\"622\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/04\/indexer-grid.webp\" alt=\"indexer-grid\" class=\"wp-image-506423\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/04\/indexer-grid.webp 1189w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/04\/indexer-grid-300x157.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/04\/indexer-grid-250x131.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/04\/indexer-grid-768x402.webp 768w\" sizes=\"(max-width: 1189px) 100vw, 1189px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>If you set the indexer to <strong>update_on_save<\/strong>, Magento runs updates during saves; this gives fresh data.<br>However, it increases write-time work and can slow saves under load.<\/p>\n\n\n\n<p>Alternatively, <strong>schedule<\/strong> mode uses MView + cron to batch and process changes; this scales better.<br>Therefore, for high-volume sites, prefer a schedule and robust cron configuration.<\/p>\n\n\n\n<p><strong>Conclusion<\/strong><\/p>\n\n\n\n<p>In summary, a custom indexer transforms heavy runtime work into fast reads for the storefront.<br><\/p>\n\n\n\n<p>Moreover, when you implement full and incremental flows, map changelog ids, and add observers, your store scales while remaining responsive.<\/p>\n\n\n\n<p>For related admin tips and enhanced controls, see our Webkul guide on <strong>Enhanced Indexer Management<\/strong>:<br><a href=\"https:\/\/webkul.com\/blog\/magento-2-enhanced-indexer-management\/\">https:\/\/webkul.com\/blog\/magento-2-enhanced-indexer-management\/<\/a>.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Commands<\/strong><\/p>\n\n\n\n<p>Use the following command to reindex the custom indexer:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">bin\/magento indexer:reindex vendor_price_indexer<\/pre>\n\n\n\n<p>Use the following command to invalidate the custom indexer:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">bin\/magento indexer:reset vendor_price_indexer<\/pre>\n\n\n\n<p>We hope it will help you. Thank you!!<\/p>\n\n\n\n<p>If any issue or doubt please feel free to mention them in the comment section.<\/p>\n\n\n\n<p>We would be happy to help. Happy Coding!!<\/p>\n\n\n\n<p>For technical assistance, please get in touch with us via email at\u00a0<a href=\"mailto:support@webkul.com\" target=\"_blank\" rel=\"noreferrer noopener\">support@webkul.com<\/a>.<\/p>\n\n\n\n<p>Discover powerful solutions to enhance your Magento 2 store by exploring our\u00a0<a href=\"https:\/\/store.webkul.com\/Magento-2.html\">Magento 2 plugins<\/a>\u00a0page.<\/p>\n\n\n\n<p>Bring your vision to life with custom-built solutions\u2014hire skilled\u00a0<a href=\"https:\/\/webkul.com\/hire-magento-developers\/\">Magento 2 developers<\/a>\u00a0today.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Create a custom indexer in Magento 2 when you need precomputed data for fast storefront reads.In this guide, you\u2019ll learn why, when, and how to implement a robust indexer step-by-step. Why create a custom indexer? First, an indexer precomputes expensive queries so pages load quickly.Therefore, it avoids heavy joins and runtime aggregations on each request. <a href=\"https:\/\/webkul.com\/blog\/how-to-create-custom-indexer-in-magento\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":372,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,9121],"tags":[2070,590],"class_list":["post-378621","post","type-post","status-publish","format-standard","hentry","category-magento","category-magento-2","tag-magento2","tag-webkul"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to create custom indexer in magento 2 - Webkul Blog magento -<\/title>\n<meta name=\"description\" content=\"how to create custom indexer in magento 2,custom indexer in magento2,magento2 custom indexer,indexer in magento\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/how-to-create-custom-indexer-in-magento\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to create custom indexer in magento 2 - Webkul Blog magento -\" \/>\n<meta property=\"og:description\" content=\"how to create custom indexer in magento 2,custom indexer in magento2,magento2 custom indexer,indexer in magento\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/how-to-create-custom-indexer-in-magento\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-04-27T10:27:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-07T05:13:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/04\/indexer-grid.webp\" \/>\n<meta name=\"author\" content=\"Sushil Kumar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sushil Kumar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-create-custom-indexer-in-magento\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-create-custom-indexer-in-magento\/\"},\"author\":{\"name\":\"Sushil Kumar\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/513087aa54cb0448c572658ecfcad038\"},\"headline\":\"How to create custom indexer in magento 2\",\"datePublished\":\"2023-04-27T10:27:33+00:00\",\"dateModified\":\"2026-01-07T05:13:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-create-custom-indexer-in-magento\/\"},\"wordCount\":521,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-create-custom-indexer-in-magento\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/04\/indexer-grid.webp\",\"keywords\":[\"Magento2\",\"webkul\"],\"articleSection\":[\"magento\",\"Magento 2\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/how-to-create-custom-indexer-in-magento\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-create-custom-indexer-in-magento\/\",\"url\":\"https:\/\/webkul.com\/blog\/how-to-create-custom-indexer-in-magento\/\",\"name\":\"How to create custom indexer in magento 2 - Webkul Blog magento -\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-create-custom-indexer-in-magento\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-create-custom-indexer-in-magento\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/04\/indexer-grid.webp\",\"datePublished\":\"2023-04-27T10:27:33+00:00\",\"dateModified\":\"2026-01-07T05:13:55+00:00\",\"description\":\"how to create custom indexer in magento 2,custom indexer in magento2,magento2 custom indexer,indexer in magento\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-create-custom-indexer-in-magento\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/how-to-create-custom-indexer-in-magento\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-create-custom-indexer-in-magento\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/04\/indexer-grid.webp\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/04\/indexer-grid.webp\",\"width\":1189,\"height\":622},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-create-custom-indexer-in-magento\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to create custom indexer in magento 2\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/513087aa54cb0448c572658ecfcad038\",\"name\":\"Sushil Kumar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c74cd7e0ce5fab0c3fa41d3e51de621a5492bea06afc4b577f10416abddf1ed3?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c74cd7e0ce5fab0c3fa41d3e51de621a5492bea06afc4b577f10416abddf1ed3?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Sushil Kumar\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/sushil-kumar419\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to create custom indexer in magento 2 - Webkul Blog magento -","description":"how to create custom indexer in magento 2,custom indexer in magento2,magento2 custom indexer,indexer in magento","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/webkul.com\/blog\/how-to-create-custom-indexer-in-magento\/","og_locale":"en_US","og_type":"article","og_title":"How to create custom indexer in magento 2 - Webkul Blog magento -","og_description":"how to create custom indexer in magento 2,custom indexer in magento2,magento2 custom indexer,indexer in magento","og_url":"https:\/\/webkul.com\/blog\/how-to-create-custom-indexer-in-magento\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2023-04-27T10:27:33+00:00","article_modified_time":"2026-01-07T05:13:55+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/04\/indexer-grid.webp","type":"","width":"","height":""}],"author":"Sushil Kumar","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Sushil Kumar","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/how-to-create-custom-indexer-in-magento\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/how-to-create-custom-indexer-in-magento\/"},"author":{"name":"Sushil Kumar","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/513087aa54cb0448c572658ecfcad038"},"headline":"How to create custom indexer in magento 2","datePublished":"2023-04-27T10:27:33+00:00","dateModified":"2026-01-07T05:13:55+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/how-to-create-custom-indexer-in-magento\/"},"wordCount":521,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/how-to-create-custom-indexer-in-magento\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/04\/indexer-grid.webp","keywords":["Magento2","webkul"],"articleSection":["magento","Magento 2"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/how-to-create-custom-indexer-in-magento\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/how-to-create-custom-indexer-in-magento\/","url":"https:\/\/webkul.com\/blog\/how-to-create-custom-indexer-in-magento\/","name":"How to create custom indexer in magento 2 - Webkul Blog magento -","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/how-to-create-custom-indexer-in-magento\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/how-to-create-custom-indexer-in-magento\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/04\/indexer-grid.webp","datePublished":"2023-04-27T10:27:33+00:00","dateModified":"2026-01-07T05:13:55+00:00","description":"how to create custom indexer in magento 2,custom indexer in magento2,magento2 custom indexer,indexer in magento","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/how-to-create-custom-indexer-in-magento\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/how-to-create-custom-indexer-in-magento\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/how-to-create-custom-indexer-in-magento\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/04\/indexer-grid.webp","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/04\/indexer-grid.webp","width":1189,"height":622},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/how-to-create-custom-indexer-in-magento\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to create custom indexer in magento 2"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/513087aa54cb0448c572658ecfcad038","name":"Sushil Kumar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c74cd7e0ce5fab0c3fa41d3e51de621a5492bea06afc4b577f10416abddf1ed3?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c74cd7e0ce5fab0c3fa41d3e51de621a5492bea06afc4b577f10416abddf1ed3?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Sushil Kumar"},"url":"https:\/\/webkul.com\/blog\/author\/sushil-kumar419\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/378621","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/372"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=378621"}],"version-history":[{"count":6,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/378621\/revisions"}],"predecessor-version":[{"id":520837,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/378621\/revisions\/520837"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=378621"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=378621"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=378621"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}