Take a moment to read the 'LLM: What is a token' page first — it’ll provide helpful context.

🤔 What’s Multi-Token Search?

When people say multi-token search, they usually mean a search made up of multiple tokens, regardless of whether those tokens are full words or parts of words.

📘 Example:

Example 1: Literal Match

You search for: heart disease treatment

It might match:

“Treatment options for chronic disease, especially those affecting the heart, are expanding rapidly.”

Here, all the words are explicitly present:

They aren’t adjacent, but the system still considers it a match because all the tokens appear somewhere in the text.


📘 Example 2: Conceptual Relevance Match

You search for the same term: heart disease treatment

It might also match:

“Common approaches to managing cardiovascular conditions include lifestyle changes, cholesterol-lowering medications, blood pressure control, and surgical interventions such as stent placement or bypass surgery.”

This time:

Even though the exact phrase “heart disease treatment” never appears, this passage is highly relevant — it's essentially a list of treatment options for heart disease, using more domain-specific terms.

This is where multi-token or proximity search becomes especially powerful: it captures conceptual relevance, not just literal overlap.


🎯 When to Use It:

✅ Use multi-token (or proximity) search when you're more interested in conceptual relevance than exact wording — especially in:

It’s ideal when you want to surface meaningfully related content, even if it's described using different language.


🧵 How Is That Different from Phrase Search?

Phrase search is more strict. It looks for the exact sequence of tokens you typed, in the same order, and right next to each other.

📘 Example:

You search for: "heart disease treatment"

This will only match:

“A new heart disease treatment was approved by the FDA.”

But it will not match:

“A treatment for disease affecting the heart…”

— because even though all the words are present, they’re not in the exact order.

🎯 When to Use It:

Use phrase search when you're looking for tight, specific language, such as:

Phrase search is your tool for precision — and a common way to indicate a phrase search is by putting the search term in double quotes. For example:"drug response biomarker"

This tells the system: “I only want results that include this exact phrase.”