About Services Tools Blog Contact us

On Device Document Search

Splits the open document into sections on the phone, indexes them on the device, and highlights the passages that match a question even when the words differ.

  • Semantic Search & RAG
  • Cross-sector
  • Tool
  • Product
  • Local/private
  • 2026

The problem

Keyword find fails when someone asks about a topic in different words from the note. Sending the open document to a hosted search service is a poor default for a private note.

What it does

The Nomic Embed search model ships with the app and runs on the phone. When the document changes, the app splits it, indexes it and saves the index next to the file. A question then highlights the closest sentences even when the words differ. Chat messages can sit in the same index, and nothing is uploaded to build it.

Outcomes

  • A question finds the right sentences even when it shares no keywords with the note.
  • The index stays on the phone next to the file.
  • A changed document is indexed again with no call to a server.

Simplified mockup

Interactive preview with sample data. Nothing is sent to a server.

Open note

Moss Lane fit-out.md Indexed on device

Moss Lane fit-out

The joinery firm starts on the ground floor once the plaster is dry.

The first instalment falls on the Friday after the joinery is signed off.

Paint colours stay with the client. We are not choosing them.

Ten percent stays aside until the snagging walk is finished.

Keys are held at the site office, not posted.

Question no shared keywords
The note is not sent anywhere

Index beside the file

Where it lives
Next to the note
same folder on the phone
Chunks
5
document prefix
Uploaded
0
bytes
moss-lane-fit-out.index
PiecePrefixStored
Ground floor and plastersearch_documenton device
First instalmentsearch_documenton device
Paint colourssearch_documenton device
Snagging holdbacksearch_documenton device
Keys at the site officesearch_documenton device
Holding payment questionsearch_querynot stored

Chat turns can use the same index later. This question is only a query prefix, so it is not written beside the file.

The note changed

Edit hash changed
was 4c1a + The painter starts the week after the floors are down. now 9e02

A changed document is split again. Nothing is posted to build the new index.

Refresh
Waiting for the local index

How it works

  1. Split the open document into sections when the text changes.
  2. Index each section on the device as a set of numbers describing its meaning.
  3. Save the index beside the file.
  4. Turn a question into numbers the same way and match it to the sections by similarity.
  5. Highlight the closest sentences in the note.
  6. Show a label that the index was built on the device.

Pipeline

flowchart LR
  Note[Open note] --> Chunk[Split into chunks]
  Chunk --> Embed[Nomic Embed]
  Embed --> File[Index beside the file]
  Ask[Question] --> Rank[Cosine rank]
  File --> Rank
  Rank --> Highlight[Highlight excerpts]