rockskip: Add an index on file extension
Created by: chrismwendt
Search-based code intel searches by file extension with queries like:
file:\.(ts|tsx)$
This change adds an index on file extension and optimizes these queries. Without this optimization, queries on the megarepo can take multiple seconds.
Test plan
Automated tests