Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Limit size of user directory search queries (#18172)
If a user search has many words we can end up creating really large queries that take a long time for the database to process. Generally, such searches don't return any results anyway (due to limits on user ID and display name length). We "fix" this by cheating and only searching for the first ten words.
- Loading branch information