What is vector search?

Definition

A vector-search system represents documents, passages or other items as numerical vectors and compares a query representation with stored ones. Similarity measures help rank candidates that may be useful even when their wording differs from the query.

Retrieval quality depends on the representation, indexing, document preparation and selection process. A similar passage may omit necessary surrounding information or be irrelevant to the final task. Evaluation should test useful outcomes rather than only the existence of close vector matches.

ELI5

Vector search helps find material that is similar in meaning even when it uses different words. It turns each item into a numerical representation that can be compared.

For example, a search for ways to lower a heating bill might retrieve a guide titled saving energy at home. Similarity helps find it, but the system still needs to check whether the guide answers the question.

Does vector similarity prove an answer is correct?

No. Similarity selects candidate information; correctness and completeness need separate checks.

Why does document chunking matter?

A retrieved chunk may lose useful context when it is separated from surrounding material, affecting how well it supports the actual task.

  1. Gergely Orosz on the left and Simon Hørup Eskildsen on the right in blue shirts against black, beside the headline ‘VECTOR SEARCH FOR AI’.
  2. Raahul Singh and Vanč Levstik beside the headline LLMs Can't Search 500,000 Sensors
  3. Aaron Linsky and Nikhil Benesch beside the words AI search permissions.
Definition card for vector search: What is vector search?

Vector search retrieves items by comparing numerical representations so that nearby vectors indicate similarity under a chosen representation.