All articles

Engineering

·

·

10 min read

Cutting time-to-answer from minutes to seconds

How we rebuilt retrieval to stay fast as customer indexes grew a hundred times larger.

Sofia Lindgren

Head of Engineering

All articles

Engineering

·

·

10 min read

Cutting time-to-answer from minutes to seconds

How we rebuilt retrieval to stay fast as customer indexes grew a hundred times larger.

Sofia Lindgren

Head of Engineering

Connected workflow nodes on a dark blue gradient

When our largest customer crossed fifty million documents, median answer time crept past twenty seconds. We set a goal to bring it back under twelve, for everyone.

Retrieve less, rank better

Our first instinct was to fetch more candidates. The fix was the opposite: a smaller first pass, filtered by permissions early, followed by a sharper re-ranker.

Stream everything

Perceived speed matters as much as measured speed. Sources now appear as soon as they are found, and the answer streams in behind them.

Results

Median time to a cited answer is now eleven seconds across all customers, and the slowest one percent is four times faster than before.

14-day free trial

Put your company’s knowledge to work

Connect your tools in minutes. Your first 14 days are free, and no credit card is required.

No credit card required

40+ integrations

Answers with sources

11

sec

median time to a cited answer

98

%

of answers include sources

14-day free trial

Put your company’s knowledge to work

Connect your tools in minutes. Your first 14 days are free, and no credit card is required.

No credit card required

40+ integrations

Answers with sources

14-day free trial

Put your company’s knowledge to work

Connect your tools in minutes. Your first 14 days are free, and no credit card is required.

No credit card required

40+ integrations

Answers with sources

Create a free website with Framer, the website builder loved by startups, designers and agencies.