# How to vector search

**Assumed Knowledge**: Vectors\
**Target Audience**: General audience\
**Reading Time:** 1 minute

Vector Search is reliant largely on index libraries and open-source models. Each vector search guide follows a template of:&#x20;

![Process of indexing and searching vectors](https://imgr.whimsical.com/object/BmHEJCcy6HtZYoNvRSgB8j)

The steps/materials can be summarised in the following way:\
**Data**: Obtain the data in a way that can be processed into a numerical representation and fed through the necessary model.\
**Encode**: Feed the data's numerical representation into a model and extract the vector which can be indexed and searched.\
**Index**: Indexing the vectors (from which the data has been encoded) in an efficient way that allows for retrieval.\
**Search**: Search the vectors that have been indexed by using a variety of Nearest Neighbor algorithms, filters, chunking and queries.&#x20;

**The Difficulties of Vector Search**\
While the above process appears simple, there are a lot of difficulties with actually using vector search for production. These difficulties include:&#x20;

* Deploying your index and search for production
* Usage of vectors to optimise search results&#x20;
* Optimising the way search is being done on the vectors&#x20;
* Optimising the matching of user intent and products&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://learn.getvectorai.com/what-are-vectors/what-is-vector-search/how-to-use-vector-search.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
