Simplified: How to fix SearchApiException error while trying to index items

By Thomas Kaisuka | | Updated On: Sun, 12/19/2021 - 10:21

Recently i ran into this error while trying to set up facets for my Drupal project and a product index. I decided to come up with a simplified solution for this in the following steps.

Step -1; This is my current content index
 

Fixing Search API Index Error

 


 

Step-2; When i click on the Index now button, i get an error as seen below
 

Fixing Search API Index Error

 


Step-3; Edit the index and uncheck the enable box and set the Server to No Server
 

Fixing Search API Index Error

 


Step-4; Index is now disabled
 

Fixing Search API Index Error

 


Step-5; Edit the Database server and delete All indexed Data
 

Fixing Search API Index Error

 


Step-6; Data successfully deleted
 

Fixing Search API Index Error

 


Step-7; Head back and re-enable your content index (In this case mine was a product index)
 

Fixing Search API Index Error

 


Step-8; You'll notice that the Track Now button has now re-appeared. Your items can now be re-tracked and then indexed later

Fixing Search API Index Error

 


Step-9; The next time you attempt to re-index your items, everything executes just fine😎
 

Search APi Indexing failure error resolved for Drupal

 

The Ultimate Managed Hosting Platform