[search] add index; increase page size (#95515)

[search] add index; increase page size
This commit is contained in:
Scott Lepper
2024-10-28 15:48:49 -04:00
committed by GitHub
parent c9abe04d46
commit 337f2a0a8b
4 changed files with 141 additions and 19 deletions
@@ -109,5 +109,9 @@ func initResourceTables(mg *migrator.Migrator) string {
Cols: []string{"group", "resource", "resource_version"}, Type: migrator.IndexType,
}))
mg.AddMigration("Add index to resource for loading", migrator.NewAddIndexMigration(resource_table, &migrator.Index{
Cols: []string{"group", "resource"}, Type: migrator.IndexType,
}))
return marker
}