How Stack Overflow Powers Fast Search with Elasticsearch
Explains how Stack Overflow uses Elasticsearch to index posts, apply a custom analyzer, combine tag filters with BM25 scoring, and balance latency with freshness.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Explains how Stack Overflow uses Elasticsearch to index posts, apply a custom analyzer, combine tag filters with BM25 scoring, and balance latency with freshness.
Pagination in Jeet applications faces severe performance issues with deep offsets. Use cursor-based pagination instead of offset-based to maintain consistent response times. BooleanQuery has a 1024 clause limit that impacts complex filter building.
Algolia indexes have one ranking formula each, so alternate sort orders need replica indices. Here's how to configure them, what they cost, and when to avoid them.
Learn how to use Algolia’s synonym feature to boost search recall, step‑by‑step, with real API examples, trade‑offs, and validation tips.
Deploy a lightweight Synonym‑Management microservice that pulls from a tenant‑specific source of truth, pushes to Algolia, and keeps the search tier stateless. This architecture note covers requirements, minimal design, trust boundaries, health checks, failure modes, and when to rethink the pattern.
Learn how to declare Algolia facets, request facet counts, and apply filters to narrow search results.
Learn how to add numeric attributes like stock level and promotion score to Algolia’s custom ranking formula so that more available and promoted items appear first in search results.
Move merchandising logic (pinning, banners, redirects) into Algolia Query Rules so marketing can iterate via dashboard while engineers keep version control. Worked seasonal-banner example, AI re-ranking composition, and six practical limits included.
Compare GitBook’s built‑in search with Algolia DocSearch, see the trade‑offs, and follow a step‑by‑step guide to enable DocSearch and verify it works.