mirror of
https://github.com/wahyd4/one-knowledge.git
synced 2026-08-09 05:06:40 +10:00
27 lines
658 B
Markdown
27 lines
658 B
Markdown
---
|
|
title: Elasticsearch
|
|
created: 2022-04-30
|
|
updated: 2022-04-30
|
|
type: summary
|
|
tags: [tech, reference]
|
|
external: https://github.com/wahyd4/knowledge/blob/master/categories/apps/elasticsearch.md
|
|
---
|
|
|
|
# Elasticsearch
|
|
|
|
Elasticsearch is a search engine based on the Lucene library. It provides a distributed, multitenant-capable full-text search engine with an HTTP web interface and schema-free JSON documents.
|
|
|
|
|
|
## Tips
|
|
|
|
## Calculate number of replicas
|
|
|
|
> N >= R + 1
|
|
|
|
N : number of nodes
|
|
R: Number of replicas
|
|
|
|
### How to resolve unassigned shards
|
|
|
|
https://www.datadoghq.com/blog/elasticsearch-unassigned-shards/#reason-3-you-need-to-reenable-shard-allocation
|