<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://briansnelson.com/index.php?action=history&amp;feed=atom&amp;title=Magento_2_Reindex_via_the_CLI</id>
		<title>Magento 2 Reindex via the CLI - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://briansnelson.com/index.php?action=history&amp;feed=atom&amp;title=Magento_2_Reindex_via_the_CLI"/>
		<link rel="alternate" type="text/html" href="https://briansnelson.com/index.php?title=Magento_2_Reindex_via_the_CLI&amp;action=history"/>
		<updated>2026-06-04T04:07:17Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.24.1</generator>

	<entry>
		<id>https://briansnelson.com/index.php?title=Magento_2_Reindex_via_the_CLI&amp;diff=999&amp;oldid=prev</id>
		<title>Brian: Created page with &quot;==Magento 2 - Reindex via the CLI==  This article shows how you can reindex Magento 2 index types using the command line.  The first thing you will want to do is determine whi...&quot;</title>
		<link rel="alternate" type="text/html" href="https://briansnelson.com/index.php?title=Magento_2_Reindex_via_the_CLI&amp;diff=999&amp;oldid=prev"/>
				<updated>2019-06-19T04:39:19Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Magento 2 - Reindex via the CLI==  This article shows how you can reindex Magento 2 index types using the command line.  The first thing you will want to do is determine whi...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Magento 2 - Reindex via the CLI==&lt;br /&gt;
&lt;br /&gt;
This article shows how you can reindex Magento 2 index types using the command line.&lt;br /&gt;
&lt;br /&gt;
The first thing you will want to do is determine which indexes need reindexed&lt;br /&gt;
&lt;br /&gt;
===Check Status ===&lt;br /&gt;
Let’s check the status of all the index types using the following command:&lt;br /&gt;
&lt;br /&gt;
 php bin/magento indexer:status&lt;br /&gt;
&lt;br /&gt;
Running the above command will output something like this:&lt;br /&gt;
&lt;br /&gt;
 Design Config Grid: Ready&lt;br /&gt;
 Customer Grid: Ready&lt;br /&gt;
 Category Products: Ready&lt;br /&gt;
 Product Categories: Ready&lt;br /&gt;
 Product Price: Reindex required&lt;br /&gt;
 Product EAV: Ready&lt;br /&gt;
 Catalog Search: Reindex required&lt;br /&gt;
 Stock: Ready&lt;br /&gt;
 Catalog Rule Product: Ready&lt;br /&gt;
 Catalog Product Rule: Ready&lt;br /&gt;
&lt;br /&gt;
From the above output, you will noticed that Product Price and Catalog Search need indexed&lt;br /&gt;
&lt;br /&gt;
===Getting the indexer name/type ===&lt;br /&gt;
&lt;br /&gt;
First of all, let’s get the information/list of all the index types present in Magento 2. For this, we use the following command:&lt;br /&gt;
&lt;br /&gt;
 php bin/magento indexer:info&lt;br /&gt;
&lt;br /&gt;
Running the above command will output something like this:&lt;br /&gt;
&lt;br /&gt;
design_config_grid Design Config Grid&lt;br /&gt;
customer_grid Customer Grid&lt;br /&gt;
catalog_category_product Category Products&lt;br /&gt;
catalog_product_category Product Categories&lt;br /&gt;
catalog_product_price Product Price&lt;br /&gt;
catalog_product_attribute Product EAV&lt;br /&gt;
catalogsearch_fulltext Catalog Search&lt;br /&gt;
cataloginventory_stock Stock&lt;br /&gt;
catalogrule_rule Catalog Rule Product&lt;br /&gt;
catalogrule_product Catalog Product Rule&lt;br /&gt;
&lt;br /&gt;
With this information we can running the following commands to reindex just the specific indexes that require it&lt;br /&gt;
&lt;br /&gt;
===Reindex specific indexes ===&lt;br /&gt;
&lt;br /&gt;
 php bin/magento indexer:reindex catalog_product_price catalogsearch_fulltext&lt;br /&gt;
&lt;br /&gt;
Running the above command will output something like this:&lt;br /&gt;
&lt;br /&gt;
 Product Price index has been rebuilt successfully in 00:00:23&lt;br /&gt;
 Catalog Search index has been rebuilt successfully in 00:00:15&lt;br /&gt;
&lt;br /&gt;
===Reindex all indexes via CLI ===&lt;br /&gt;
&lt;br /&gt;
This is done with the same command as above, but without specifying individual indexes.&lt;br /&gt;
&lt;br /&gt;
 php bin/magento indexer:reindex&lt;br /&gt;
&lt;br /&gt;
Sample output:&lt;br /&gt;
&lt;br /&gt;
 Design Config Grid index has been rebuilt successfully in 00:00:04 &lt;br /&gt;
 Customer Grid index has been rebuilt successfully in 00:00:06&lt;br /&gt;
 Category Products index has been rebuilt successfully in 00:00:02&lt;br /&gt;
 Product Categories index has been rebuilt successfully in 00:00:00&lt;br /&gt;
 Product Price index has been rebuilt successfully in 00:00:01&lt;br /&gt;
 Product EAV index has been rebuilt successfully in 00:00:00&lt;br /&gt;
 Catalog Search index has been rebuilt successfully in 00:00:04&lt;br /&gt;
 Stock index has been rebuilt successfully in 00:00:01&lt;br /&gt;
 Catalog Rule Product index has been rebuilt successfully in 00:00:00&lt;br /&gt;
 Catalog Product Rule index has been rebuilt successfully in 00:00:00&lt;/div&gt;</summary>
		<author><name>Brian</name></author>	</entry>

	</feed>