# cbElasticsearch

## cbElasticsearch

- [Getting Started](https://cbelasticsearch.ortusbooks.com/getting-started.md)
- [Installation](https://cbelasticsearch.ortusbooks.com/getting-started/installation.md): Get started installing CBElasticsearch
- [Configuration](https://cbelasticsearch.ortusbooks.com/getting-started/configuration.md): Learn CBElasticsearch module config, environment variable support, and more.
- [Secondary Cluster](https://cbelasticsearch.ortusbooks.com/getting-started/secondary-cluster.md): Learn how to connect to a secondary Elasticsearch cluster using CBElasticsearch
- [Indices](https://cbelasticsearch.ortusbooks.com/indices.md)
- [Managing Indices](https://cbelasticsearch.ortusbooks.com/indices/managing-indices.md): Learn how to create, update and delete indices with CBElasticsearch
- [Index Lifecycles](https://cbelasticsearch.ortusbooks.com/indices/managing-indices/index-lifecycles.md): Learn How to to use Index Lifecycle Policies to transition time series data
- [Index Templates](https://cbelasticsearch.ortusbooks.com/indices/managing-indices/templates.md): Learn How to Create Index and Component templates to Ensure Data Mappings
- [Mapping Builder](https://cbelasticsearch.ortusbooks.com/indices/mapping-builder.md): Learn how to define an Elasticsearch index mapping using the fluent MappingBuilder syntax in CBElasticsearch
- [Aliases](https://cbelasticsearch.ortusbooks.com/indices/aliases.md): Learn how to create and manage index aliases with CBElasticsearch
- [Reindexing](https://cbelasticsearch.ortusbooks.com/indices/reindexing.md): Sometimes indices get messy. Learn how to reindex your data in CBElasticsearch.
- [Data Streams](https://cbelasticsearch.ortusbooks.com/indices/data-streams.md): Learn How to use Data Streams for time series data
- [Searching](https://cbelasticsearch.ortusbooks.com/searching.md)
- [Search](https://cbelasticsearch.ortusbooks.com/searching/search.md): Learn how to search documents with CBElasticsearch
- [Aggregations](https://cbelasticsearch.ortusbooks.com/searching/aggregations.md): Learn how to summarize or "aggregate" data with cbElasticsearch
- [Suggestions](https://cbelasticsearch.ortusbooks.com/searching/suggestions.md): Provide "Did you mean \_\_?" or autocomplete functionality to your app's search form with CBElasticsearch
- [Documents](https://cbelasticsearch.ortusbooks.com/documents.md): Learn how to create and manage Elasticsearch document records using CBElasticsearch
- [Logging](https://cbelasticsearch.ortusbooks.com/logging.md): Learn how to transform incoming data in an Elasticsearch Ingest Pipeline.
- [Pipelines](https://cbelasticsearch.ortusbooks.com/pipelines.md): Learn how to transform incoming data in an Elasticsearch Ingest Pipeline.
- [Tasks](https://cbelasticsearch.ortusbooks.com/tasks.md): Learn how to work with asynchronous Elasticsearch operations to process documents in a non-blocking manner
- [Contributing](https://cbelasticsearch.ortusbooks.com/contributing.md): We're open source! Get started hacking on CBElasticsearch to add a new feature, fix the docs, or prove a regression.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
This site has an agentic ask interface you may use to query the documentation dynamically by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cbelasticsearch.ortusbooks.com/index.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.
