diff --git a/GITLAB_ELASTICSEARCH_INDEXER_VERSION b/GITLAB_ELASTICSEARCH_INDEXER_VERSION
index 0062ac971805f7b700058db4bb0f5c5b771dda76..831446cbd27a6de403344b21c9fa93a25357f43d 100644
--- a/GITLAB_ELASTICSEARCH_INDEXER_VERSION
+++ b/GITLAB_ELASTICSEARCH_INDEXER_VERSION
@@ -1 +1 @@
-5.0.0
+5.1.0
diff --git a/ee/lib/gitlab/elastic/indexer.rb b/ee/lib/gitlab/elastic/indexer.rb
index 2023ebb7834c95492461b8ddb41e805da2b1543b..2521a91d7eef5071de34c4f7dfc1ac476dbaf37a 100644
--- a/ee/lib/gitlab/elastic/indexer.rb
+++ b/ee/lib/gitlab/elastic/indexer.rb
@@ -195,7 +195,6 @@ def build_blob_specific_flags
         %W[--repository-access-level=#{container.repository_access_level}].tap do |c|
           c << "--hashed-root-namespace-id=#{project.namespace.hashed_root_namespace_id}"
           c << "--schema-version-blob=#{BLOB_SCHEMA_VERSION}"
-          c << '--schema-version-commits'
           c << "--schema-version-commit=#{COMMIT_SCHEMA_VERSION}"
 
           c << "--archived=#{project.archived}" if migration_finished?(:add_archived_to_commits) &&
diff --git a/ee/spec/lib/gitlab/elastic/indexer_spec.rb b/ee/spec/lib/gitlab/elastic/indexer_spec.rb
index 4f936411b6b3f61e0a8e807fda2221b8cab6af48..6345a1a99a29b76ddafe5b31bd57d910d7909ab1 100644
--- a/ee/spec/lib/gitlab/elastic/indexer_spec.rb
+++ b/ee/spec/lib/gitlab/elastic/indexer_spec.rb
@@ -173,7 +173,6 @@
               "--repository-access-level=#{project.repository_access_level}",
               "--hashed-root-namespace-id=#{project.namespace.hashed_root_namespace_id}",
               "--schema-version-blob=2308",
-              '--schema-version-commits',
               "--schema-version-commit=2306",
               "--archived=#{project.archived}",
               "--traversal-ids=#{project.namespace_ancestry}",
@@ -216,7 +215,6 @@
               "--repository-access-level=#{project.repository_access_level}",
               "--hashed-root-namespace-id=#{project.namespace.hashed_root_namespace_id}",
               "--schema-version-blob=2308",
-              '--schema-version-commits',
               "--schema-version-commit=2306",
               "--traversal-ids=#{project.namespace_ancestry}",
               "#{project.repository.disk_path}.git"
@@ -258,7 +256,6 @@
               "--repository-access-level=#{project.repository_access_level}",
               "--hashed-root-namespace-id=#{project.namespace.hashed_root_namespace_id}",
               "--schema-version-blob=2308",
-              '--schema-version-commits',
               "--schema-version-commit=2306",
               "--traversal-ids=#{project.namespace_ancestry}",
               "#{project.repository.disk_path}.git"
@@ -295,7 +292,6 @@
             "--repository-access-level=#{project.repository_access_level}",
             "--hashed-root-namespace-id=#{project.namespace.hashed_root_namespace_id}",
             "--schema-version-blob=2308",
-            '--schema-version-commits',
             "--schema-version-commit=2306",
             "--archived=#{project.archived}",
             "--traversal-ids=#{project.namespace_ancestry}",