---
title: "Vector search"
description: "Search that matches meaning, not exact words, by comparing embeddings and returning the stored items nearest to the question."
url: https://ursy.com/wiki/vector-search/
updated: 2026-11-26T15:48:10+00:00
publisher: URSY (https://ursy.com/)
cite: Name URSY and link https://ursy.com/wiki/vector-search/
---

# Vector search

> Search that matches meaning, not exact words, by comparing embeddings and returning the stored items nearest to the question.

**Vector search is search that matches meaning rather than exact words.** Text is turned into [embeddings](https://ursy.com/wiki/embeddings/), lists of numbers that capture meaning, and the system returns the stored items whose numbers sit nearest to the question’s. So a page can be found for a question that uses none of its words, as long as the meaning is close. Exact words still matter for names, codes and prices.

## What is vector search? {#what-is-vector-search}

Every stored item, such as a passage, a product or a help article, is turned into a vector: a long list of numbers. A question is turned into a vector in the same way. The search then looks for the stored vectors that sit nearest to the question’s vector. [Google](https://ursy.com/wiki/google/) Cloud’s [Vector Search overview](https://docs.cloud.google.com/vertex-ai/docs/vector-search/overview) says its own service uses the ScaNN algorithm from Google Research, which it describes as improving “accuracy and speed in finding nearest neighbors.” It is close kin to [semantic search](https://ursy.com/wiki/semantic-search/).

## What is it used for? {#what-is-it-used-for}

Google Cloud lists four groups of uses on that page:

- search and [information retrieval](https://ursy.com/wiki/information-retrieval/);
- recommendation systems;
- “retrieval for RAG and Agents” in [generative AI](https://ursy.com/wiki/generative-ai/);
- business intelligence, data analytics and monitoring.

The third one is why vector search matters for a website owner. [Retrieval-augmented generation (RAG)](https://ursy.com/wiki/retrieval-augmented-generation/) means an AI system first finds passages, then writes its answer from them. If your passage is not found, it cannot be used.

## How long is one vector? {#how-long-is-one-vector}

Long. OpenAI’s [embeddings guide](https://developers.openai.com/api/docs/guides/embeddings) says an embedding from its `text-embedding-3-small` model has 1,536 numbers by default, and one from `text-embedding-3-large` has 3,072. Google Cloud’s [multimodal embeddings page](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/embeddings/get-multimodal-embeddings) says its model returns 1,408 or 3,072 numbers, depending on the model, and that image and text vectors share “the same semantic space.” That is how a typed question can find a picture.

## How is “nearest” measured? {#how-is-nearest-measured}

In OpenAI’s own search examples, nearness is measured with [cosine similarity](https://ursy.com/wiki/cosine-similarity/): how closely two lists point the same way. OpenAI says its embeddings are normalised to length 1, so cosine similarity can be worked out with a simple dot product, and it adds that “The choice of distance function typically doesn’t matter much.” For large collections it says: “For searching over many vectors quickly, we recommend using a [vector database](https://ursy.com/wiki/vector-database/).”

## How does it work, step by step? {#how-does-it-work-step-by-step}

1. The site’s text is split into passages, often one per heading.
2. Each passage is turned into an embedding and stored.
3. A question arrives and is turned into an embedding too.
4. The system finds the stored passages nearest to it.
5. Those passages are returned as results, or handed to a [large language model](https://ursy.com/wiki/large-language-model/) to answer from.

Step 5 is where [grounding](https://ursy.com/wiki/grounding/) happens: the answer is tied to real text rather than to the model’s memory, which helps cut [AI hallucinations](https://ursy.com/wiki/ai-hallucination/).

## Is keyword search finished? {#is-keyword-search-finished}

No. Google Cloud’s overview describes hybrid search, which “uses both dense and sparse embeddings.” Dense embeddings, it says, “represent the semantic meaning of text”; sparse embeddings “represent text syntax” and are often used for keyword search. Google says hybrid search “further enhances results for niche terms.” In plain words: meaning finds the right topic, exact words find the right part number, postcode or model name. A page needs both. See [keyword](https://ursy.com/wiki/keyword/) and [GTIN](https://ursy.com/wiki/gtin/).

## Why does it matter for search? {#why-does-it-matter-for-search}

Google’s [guide to generative AI features in Search](https://developers.google.com/search/docs/fundamentals/ai-optimization-guide) says: “AI systems can understand synonyms and general meanings of what someone is seeking.” It says content does not need to use the same words as the query, and that you need not chase every [long-tail](https://ursy.com/wiki/long-tail/) variation. So [keyword stuffing](https://ursy.com/wiki/keyword-stuffing/) helps even less than before. Clear writing about the real [search intent](https://ursy.com/wiki/search-intent/) helps more.

## Why does it matter for AI answers? {#why-does-it-matter-for-ai-answers}

Many [AI assistants](https://ursy.com/wiki/ai-assistant/) and site chatbots find passages this way before they answer. Google says its AI features may use [query fan-out](https://ursy.com/wiki/query-fan-out/), “A set of concurrent, related queries generated by the model to request more information.” Each of those related queries is another chance for a clear passage to be matched. A passage that is found and used can become a [citation](https://ursy.com/wiki/citation/): a link in front of the person who asked.

## Worked example {#worked-example}

A bike shop’s help pages are split into short passages, and each passage is stored as an embedding. A customer types into the site’s chatbot:

```
why does my bike keep jumping between gears
```

No passage contains the words “jumping between gears”. Keyword search alone finds nothing useful. Vector search turns the question into an embedding too and compares it with every stored passage. The nearest is the one headed “Adjusting a slipping gear cable”, because “jumping” and “slipping” gears mean much the same thing. The chatbot answers from that passage and links to it.

| Passage heading | Shares words with the question? | Close in meaning? |
| --- | --- | --- |
| Adjusting a slipping gear cable | Only “gear” | Yes: returned first |
| Fitting a new chain | No | Partly |
| Our opening hours | No | No |

Now suppose the gear advice sat inside one long page that also covers tyres, brakes and opening hours, and a simple chatbot stored that whole page as one embedding. Its numbers would be a blend of all four topics, and it would sit less close to the gear question than a passage about gears alone. Google says its own systems “are able to understand the nuance of multiple topics on a page”, but not every site chatbot is as careful. A clear heading over each topic helps both.

## Common mistakes {#common-mistakes}

- **Facts only in pictures.**  A price in an image is invisible to text matching. Put names, prices, codes and opening hours in text. See [alt text](https://ursy.com/wiki/alt-text/).
- **Text that appears only after scripts run.**  Some crawlers do not run JavaScript. See [JavaScript SEO](https://ursy.com/wiki/javascript-seo/).
- **Headings that do not say what follows.**  “More info” matches nothing. See [heading tags](https://ursy.com/wiki/heading-tags/).
- **Chopping pages into tiny pieces.**  Google says: “There’s no requirement to break your content into tiny pieces for AI to better understand it.” One topic per section is enough.
- **Different facts in different places.**  If the page, the [schema markup](https://ursy.com/wiki/schema-markup/) and the [llms.txt](https://ursy.com/wiki/llms-txt/) file disagree, an AI system may pick the wrong one.
- **Blocking the crawlers you want.**  A passage an AI crawler cannot read cannot be stored. See [robots.txt](https://ursy.com/wiki/robots-txt/) and [AI crawler](https://ursy.com/wiki/ai-crawler/).

## How to check it {#how-to-check-it}

1. Check AI crawlers can reach your pages. The [Robots.txt Checker](https://ursy.com/robots-txt-checker/) tests your rules, and the [AI Bot Checker](https://ursy.com/ai-bot-checker/) shows which AI [bots](https://ursy.com/wiki/bot-web-robot/), such as [GPTBot](https://ursy.com/wiki/gptbot/), [OAI-SearchBot](https://ursy.com/wiki/oai-searchbot/) and [ClaudeBot](https://ursy.com/wiki/claudebot/), are let in.
2. Check the text is in the [HTML](https://ursy.com/wiki/html/), not only drawn by scripts, with the [JavaScript SEO Checker](https://ursy.com/javascript-seo-checker/). The [AI Readiness Checker](https://ursy.com/ai-readiness-checker/) scores the page as a whole.
3. See how a page splits into passages with the [RAG chunk previewer](https://ursy.com/webmaster-tools/rag-chunk-previewer/). Then check the outline with the [Heading Checker](https://ursy.com/heading-checker/), and find headings that ask but never answer with the [heading answer gap finder](https://ursy.com/webmaster-tools/heading-answer-gap-finder/).
4. Give each heading a stable link that an answer can point to. The [Citation Anchor Checker](https://ursy.com/citation-anchor-checker/) tests this. See [citation anchor](https://ursy.com/wiki/citation-anchor/).
5. Make the facts match everywhere with the [AI Consistency Checker](https://ursy.com/ai-consistency-checker/), and test your structured data with the [Schema Markup Checker](https://ursy.com/schema-checker/). See [JSON-LD](https://ursy.com/wiki/json-ld/) and [entity](https://ursy.com/wiki/entity/).
6. Offer clean copies for AI. Test your llms.txt with the [llms.txt Checker](https://ursy.com/llms-txt-checker/) and your plain-text page copies with the [Markdown Version Checker](https://ursy.com/markdown-version-checker/).
7. Find out which AI bots really read which pages. Drop a server log into the [AI Crawler Log Analyser](https://ursy.com/ai-crawler-log-analyzer/), and check a doubtful visitor with [Verify an AI Bot](https://ursy.com/verify-ai-bot/). See [log file analysis](https://ursy.com/wiki/log-file-analysis/) and [verified bots](https://ursy.com/wiki/verified-bots/).
8. Make sure every key passage sits on a well-linked page. Read [internal linking](https://ursy.com/wiki/internal-linking/), [click depth](https://ursy.com/wiki/click-depth/) and [internal PageRank](https://ursy.com/wiki/internal-pagerank/), and measure [link juice](https://ursy.com/wiki/link-juice/) with [URSY Link Juice](https://ursy.com/link-juice/), live in the URSY app.
9. Run the [SEO Audit](https://ursy.com/seo-audit/) for many pages at once. Single checks on each tool page: free, no account (2 a day). The full audit: a free account (sign in with an emailed code), 1 a day. We run 56 free tools in all; see [pricing](https://ursy.com/pricing/).
10. Over time, [What AI reads](https://ursy.com/pro/what-ai-reads/) and [Pages AI never reads](https://ursy.com/pro/pages-ai-never-reads/) show which passages AI systems pick up. They are in URSY Pro, opening in stages.

## What URSY.com counts {#what-ursy-counts}

We cannot see inside any AI company’s vector index. What we count is what its crawlers read. Every request is sorted by the name it sends: people, [search engines](https://ursy.com/wiki/search-engine/), AI crawlers, [AI agents](https://ursy.com/wiki/ai-agent/) and other machines. AI crawlers are split into training, search and fetch-for-a-person, and checked against the companies’ published IP lists as real, fake or unknown. A bot that reads one page ten times is ten requests; “pages read” counts distinct paths. See our [methodology](https://ursy.com/methodology/).

## Questions {#questions}

### Is vector search the same as semantic search? {#is-vector-search-the-same-as-semantic-search}

Nearly. Semantic search is the aim: matching meaning. Vector search is one common way to do it, using embeddings and nearest-neighbour matching.

### Do I still need keywords? {#do-i-still-need-keywords}

Yes, for exact things. Google Cloud says sparse embeddings handle text syntax and keyword search, and that hybrid search helps with niche terms. Names, codes and prices should be written out exactly.

### Should I split my pages into tiny chunks? {#should-i-split-my-pages-into-tiny-chunks}

No. Google says there is no requirement to break content into tiny pieces. Give each section one topic and a heading that says what it answers.

### Can I see how ChatGPT or Claude matches my page? {#can-i-see-how-chatgpt-or-claude-matches-my-page}

No. Their indexes are private. You can see whether their crawlers read the page, and whether the text is clear and reachable.

## Related words {#related-words}

- [Embeddings](https://ursy.com/wiki/embeddings/)
- [Semantic search](https://ursy.com/wiki/semantic-search/)
- [Retrieval-augmented generation (RAG)](https://ursy.com/wiki/retrieval-augmented-generation/)
- [Grounding](https://ursy.com/wiki/grounding/)
- [Query fan-out](https://ursy.com/wiki/query-fan-out/)
- [Large language model (LLM)](https://ursy.com/wiki/large-language-model/)
- [Natural language processing](https://ursy.com/wiki/natural-language-processing/)
- [AI search](https://ursy.com/wiki/ai-search/)

## Sources {#sources}

- [Google Cloud: Vector Search overview](https://docs.cloud.google.com/vertex-ai/docs/vector-search/overview), checked 24 November 2026
- [Google Cloud: Get multimodal embeddings](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/embeddings/get-multimodal-embeddings), checked 24 November 2026
- [OpenAI API docs: Vector embeddings](https://developers.openai.com/api/docs/guides/embeddings), checked 24 November 2026
- [Google Search Central: Optimizing your website for generative AI features on Google Search](https://developers.google.com/search/docs/fundamentals/ai-optimization-guide), checked 24 November 2026

*Updated 24 November 2026 by URSY.com.*
