Vibeleaderboard
← All Intel
Intel / article

Two Years Of Vector Search At Notion

Source
notion.com
Publisher
Notion
Author
Notion Blog
Date

Context

Notion reduced repeated search-indexing work by distinguishing text changes from changes to a page's properties. Its search system divides pages into passages and turns each passage into a numerical representation of meaning. Previously, even a small edit caused every passage on the page to be processed again, according to its engineering retrospective.

The revised system stores separate fingerprints for passage text and , such as permissions. It regenerates representations only for changed text; a permissions-only edit updates metadata instead. Notion reports a 70% reduction in data volume from these changes, reducing both work and database writes.

Terms in this piece · Glossary
  • Metadata — Data about a file, such as its name, size and timestamps, as distinct from its contents.
  • embedding — A list of numbers representing a piece of text's meaning, so that similar meanings end up numerically close and can be searched.
  • Retrieval — Selecting evidence relevant to the current request.
  • Path — A description of a file or folder location, written using directory names and separators.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Read the source www.notion.com
Tools in this story
More from Notion Blog
Recommended reads