Behind the scenes with OverflowAI Search

25 Sep 2023

Problem

Stack Overflow users struggled to find relevant answers. The search interface was confusing, results were imprecise, and people left for external search engines or AI chatbots. When they failed to find an existing answer, they asked duplicate questions, which were then closed. Users also found it hard to put their problem into words, so refining a query took many rounds.

Example from the article: a user reviews each result to decide whether it helps, then reads related questions, then rewrites the query and tests again. These two loops were judged the biggest sources of friction.

Solution in brief

The team ran a five-day design sprint to find the friction loops and choose three changes: hybrid Elasticsearch plus semantic retrieval, an AI summary of the most relevant answers shown beside normal results, and conversational query refinement. Weekly prototype sessions with users then shaped the design, mainly around visible sources, quality signals from human votes, and separate feedback for the AI.

Questions this case answers
  • How to add a generated answer to a search page so that users trust it and still reach the original content quickly
  • How to find which loops in a search journey cause the most friction and choose a redesign direction in days, not months
  • How to add an AI answer summary to a search page without losing users' trust in the content?
  • How to find which steps of a search journey cost users the most time before redesigning search?

Tools and methods

  • Design sprint — five days, cross-functional team, ends with user tests of prototypes
  • Weekly design and research sessions — mockups and prototypes shown to new and tenured users
  • Hybrid search — Elasticsearch keyword retrieval combined with semantic search
  • AI summary with cited sources — generated answer next to the result list
  • Elasticsearch — keyword retrieval in the hybrid
Continue reading — it's free

Google or a one-time email code. No password.