diff --git a/api/search.js b/api/search.js
index 4794113a7c2eb028d23001ac2823d51221d93383..ab83894a7fd125298385097256467a09c175e207 100644
--- a/api/search.js
+++ b/api/search.js
@@ -8,7 +8,7 @@ const getArticleFromDB = require('../scripts/get-from-database/getArticle');
 const config = require('../config');
 
 const articlesIndexPath = process.env.DEPLOYMENT === 'NOW'
-  ? 'build/indices/articlesIndexName.json'
+  ? 'build/indices/articlesIndex.json'
   : config.articlesIndexPath;
 const articlesIndex = require(articlesIndexPath);