Skip to content

Origin search is *slow* when you look for very common words

Searching for very common words (linux, git, github, ...) makes the origin search slow down to a crawl.

This is due to the fact that we're sorting results by origin id, nullifying all the advantages of having the trigram index when the search hits a lot of results.

We should try to do something a little smarter.


Migrated from T1117 (view on Phabricator)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information