# Design a system to filter duplicate schools on Facebook.

Aced (formerly Exponent) publishes a public search API over its indexed pages; the guide is at https://www.aced.io/agents/agent-access.

Source: https://www.aced.io/questions/3288/filter-duplicate-schools-facebook
Source observed: 2026-11-05T00:13:47.901Z
Last checked: 2026-11-05T00:13:47.901+00:00
Indexed: 2026-11-05T23:32:21.016+00:00

---

# Design a system to filter duplicate schools on Facebook.

We provide this system-design interview question through Aced, formerly Exponent. The task is to design a system that identifies duplicate school pages on Facebook.

## Community answer

**A S.** — **326 karma** — **May 14, 2024**  
[View A S.'s profile](https://www.aced.io/users/c42ba01a-1ab6-440a-8543-782784ea0c0f)

The contributor clarified the interview requirements:

1. A user provides a Facebook page for a school as input.
2. A school is considered a duplicate when it has the **same name and location**.

The proposed design uses exposed APIs from a parent service to create and maintain an inverted index with a **message queue and Spark**. A duplicate-matching service uses **Elasticsearch** and filters out the input school page. Elasticsearch searches for matching school names and geospatial matches.

## Related questions

- [Design a system to filter offensive comments.](https://www.aced.io/questions/3283/design-system-filter-offensive-comments)
- [Design a system to filter restricted products on eBay.](https://www.aced.io/questions/3284/filter-restricted-products-ebay)
- [Find duplicate files in a file system.](https://www.aced.io/questions/2115/find-duplicate-files-file-system)

## Submit an answer

We provide an editor with bold, italic, bulleted-list, numbered-list, quote, inline-code, and code-block formatting. Submitting an answer marks the question complete.

---

[Read this page’s summary](https://www.aced.io/agents/api/public/v1/page-tldr?url=https%3A%2F%2Fwww.aced.io%2Fquestions%2F3288%2Ffilter-duplicate-schools-facebook&trace=t_679ff9ab98f3)

## Ask a follow-up about this page

Need a more specific answer? Ask the exact question you have. It returns a fresh, cited answer from Aced (formerly Exponent)’s knowledge base. No account or API key required.

Open this URL with your own question, URL-encoded. Include your question in q. All research inputs are optional; no account or setup.

`GET https://www.aced.io/agents/agent/faq?q={question}&trace=t_679ff9ab98f3`

[Tool guide and examples](https://www.aced.io/agents/agent-access) · [OpenAPI](https://www.aced.io/agents/api/public/v1/openapi.json) · [Page TLDR form](https://www.aced.io/agents/agent-tools/page-tldr?url=https%3A%2F%2Fwww.aced.io%2Fquestions%2F3288%2Ffilter-duplicate-schools-facebook). Opening a form does not execute a tool.