Skip to content

Commit

Permalink
* [DOC] Added 'Search' nodes description in 'Creating a cluster' page (
Browse files Browse the repository at this point in the history
…#4597)

* [DOC] fix the tabulation of searchable snapshots snippet example

Signed-off-by: Carlos Neto <[email protected]>
  • Loading branch information
c-neto authored Jul 28, 2023
1 parent c14b8b2 commit a1ac25a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ The searchable snapshot feature incorporates techniques like caching frequently

To configure the searchable snapshots feature, create a node in your opensearch.yml file and define the node role as `search`:

```bash
node.name: snapshots-node
node.roles: [ search ]
```
```yaml
node.name: snapshots-node
node.roles: [ search ]
```
If you're running Docker, you can create a node with the `search` node role by adding the line `- node.roles=search` to your `docker-compose.yml` file:

```bash
```yaml
version: '3'
services:
opensearch-node1:
Expand Down
1 change: 1 addition & 0 deletions _tuning-your-cluster/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Data | Stores and searches data. Performs all data-related operations (indexing,
Ingest | Pre-processes data before storing it in the cluster. Runs an ingest pipeline that transforms your data before adding it to an index. | If you plan to ingest a lot of data and run complex ingest pipelines, we recommend you use dedicated ingest nodes. You can also optionally offload your indexing from the data nodes so that your data nodes are used exclusively for searching and aggregating.
Coordinating | Delegates client requests to the shards on the data nodes, collects and aggregates the results into one final result, and sends this result back to the client. | A couple of dedicated coordinating-only nodes is appropriate to prevent bottlenecks for search-heavy workloads. We recommend using CPUs with as many cores as you can.
Dynamic | Delegates a specific node for custom work, such as machine learning (ML) tasks, preventing the consumption of resources from data nodes and therefore not affecting any OpenSearch functionality.
Search | Provides access to [searchable snapshots]({{site.url}}{{site.baseurl}}/tuning-your-cluster/availability-and-recovery/snapshots/searchable_snapshot/). Incorporates techniques like frequently caching used segments and removing the least used data segments in order to access the searchable snapshot index (stored in a remote long-term storage source, for example, Amazon S3 or Google Cloud Storage). | Search nodes contain an index allocated as a snapshot cache. Thus, we recommend dedicated nodes with a setup with more compute (CPU and memory) than storage capacity (hard disk).

By default, each node is a cluster-manager-eligible, data, ingest, and coordinating node. Deciding on the number of nodes, assigning node types, and choosing the hardware for each node type depends on your use case. You must take into account factors like the amount of time you want to hold on to your data, the average size of your documents, your typical workload (indexing, searches, aggregations), your expected price-performance ratio, your risk tolerance, and so on.

Expand Down

0 comments on commit a1ac25a

Please sign in to comment.