Skip to content

migrations: add back repo name index to speed up search

Administrator requested to merge bl/search-index into main

Created by: beyang

This adds back the repo_name_idx index that Rijnard originally added to speed up search by 4-40x, this time in a transaction to prevent the deadlock.

Post-merge TODO

  • Recreate the index using CONCURRENTLY on sourcegraph.com

Merge request reports

Loading