# Search and indexing

Using SQL queries with joins to retrieve the data wanted for a search result can be expensive and cumbersome to customize. Instead, Ucommerce utilizes de-normalized data in a data store optimized for indexing, e.g. ElasticSearch, to deliver the search results fast. This increases performance on the website. It also makes it easy to customise what data you want to serve to your customers using custom [index definitions](/readme/search-and-indexing/indexing/index-definitions.md) and [adorners](/readme/search-and-indexing/indexing/custom-data.md) instead of SQL queries.

The following articles contain detailed information on how to access and use various features of Ucommerce's search API. They cover the following topics:

* [Indexing](/readme/search-and-indexing/indexing.md) - Get data into the index
* [Searching](/readme/search-and-indexing/searching.md) - Get data from the index


---

# 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://dev.ucommerce.net/readme/search-and-indexing.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.
