Passage Vector Capture

How to Find & Fix Passage Gaps

How to use Rankara's passage analysis to see which section of a page answers each search query, find the queries nothing answers, and test rewrites before publishing.

6 min readUpdated: October 2026Rankara (Product documentation)

1. Gaps and Drift

A gap is a query your page should rank for that no section on the page answers: its best section scores below 0.65, no closer than content from an unrelated site. Drift is the reverse, a section that matches none of the page's queries. Gaps are the actionable part: if no section answers a query, AI search has nothing on the page to cite for it.

Common Pitfall

Generic intros and marketing copy ("the best solutions for all your needs") score like unrelated text. In our calibration a fluff sentence scored 0.58 against a query that a direct answer scored 0.85 on.

2. How the Scores Work

Rankara splits the page into sections (a heading and the text under it). It embeds them as documents and the target queries as search queries with Google's `gemini-embedding-001` retrieval mode, then measures the cosine similarity of every section to every query:

  • Cosine Similarity = (A · B) / (||A|| * ||B||)
  • 0.75 and above: strong. The section clearly answers the query.
  • 0.65 to 0.75: partial. On topic but indirect.
  • Below 0.65: weak. No closer than unrelated content.
  • The cutoffs were calibrated on real pages and their Search Console queries. A page's best section scored 0.61-0.80 (median 0.74), and unrelated sites' sections 0.51-0.67 (90% below 0.63).
  • The ranking between sections is the reliable part; the cutoffs are guides. Scores are one embedding model's view of semantic fit, not a guarantee that any AI engine cites the page.

3. Fixing a Gap

For each gap query, add a section that answers it, or rewrite the closest one:

  • Name the query in the heading: replace 'Overview' or 'Details' with a heading that states the question or topic.
  • Answer it in the first one or two sentences, then expand.
  • One idea per section: Rankara splits long sections into pieces of about 300 words, and a section that covers three topics is a weak match for each.

4. Example Rewrite

A generic section rewritten to answer the query it targets. Paste a draft into Test a rewrite to score it against the same queries before you publish:

content-rewrite-example.md
markdown
<!-- BEFORE: answers nothing in particular -->
## Features
Our platform has many features. We offer great support for developers. It is easy to use and very fast.

<!-- AFTER: targets "how to set page metadata in the Next.js app router" -->
## Setting Page Metadata in the Next.js App Router
Export a `metadata` object (or a `generateMetadata` function) from the page's `page.tsx`. Next.js renders the title, description and Open Graph tags into the server HTML.

5. Re-checking After Changes

Passage analysis runs on demand, not on a schedule. After you publish a change, run it again on the same page and queries to confirm the gap is closed. Each analysis counts once toward your monthly allowance (unlimited with your own Gemini key).

Free audit

Check Your Home Page for Free

Run a free playbook audit of your domain, then analyze your pages' sections against their search queries to find the queries nothing answers.