# Indexing in full-text search

In the data/information retrieval systems, **indexing** is the technique of creating a records structure that allows for **quicker retrieval of statistics**.&#x20;

In the case of **full-text search**, indexing involves creating a **structured catalog** of words or terms found in the text data, along with their corresponding locations.

The indexing process in full-text search is determined by the analyzer used. An analyzer is a component responsible for tokenizing the text, applying various transformations, and generating indexed terms.

## For In-Depth Details

* [<mark style="color:blue;">**Refer to the Official Documentation of Indexes**</mark>](https://www.mongodb.com/docs/manual/indexes/)


---

# 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://docs.cosmocloud.io/resources/document-search/full-text-search/concepts/indexing-in-full-text-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.
