System Design · Middle · Question 49 of 75

Why is search for large catalogs done on the server rather than by filtering on the client?

Explanation

Server-side search engines (Elasticsearch, Meilisearch, PostgreSQL full-text search) provide relevance, typo tolerance and facets. Client-side filtering is appropriate for hundreds to thousands of already loaded records.

Further reading

Problem with a question

System Design · Middle · question 49

Test yourself

Take the System Design · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz