Elasticsearch & Full Text Search Systems · Aula

Conceitos fundamentais do Elasticsearch

Aprenda sobre os principais componentes do Elasticsearch, como nós, clusters, índices, tipos, documentos e fragmentos, e entenda como eles interagem.

Aula 2 de 412 etapas

Conceitos fundamentais do Elasticsearch é uma aula grátis de Elasticsearch & Full Text Search Systems no CoddyKit. Esta é a aula 2 de 4. Você pode ler a aula completa abaixo gratuitamente — depois pratica ao vivo no navegador com um editor de código integrado e um tutor de IA 24/7. Faz parte do caminho de aprendizado de Elasticsearch & Full Text Search Systems, e seu progresso é sincronizado entre a web e o app CoddyKit. O curso de Elasticsearch & Full Text Search Systems inclui 4 aulas no total.

Partes desta aula ainda não foram traduzidas e aparecem em inglês.

Welcome to Core Concepts!

Let's master Elasticsearch's core concepts: clusters, nodes, indices, documents, and the shards and replicas that make it scale.

The Heart: Elasticsearch Cluster

An Elasticsearch cluster is one or more nodes that together hold all your data and serve indexing and search as a single, unified system.

Building Blocks: Nodes

A node is one server in your cluster, running an Elasticsearch instance and storing part of your data. Each has a unique name and can take on different roles.

Nodes Form a Cluster

Nodes sharing a cluster name discover each other and form a cluster. One becomes the master node, managing cluster-wide changes; the rest hold data.

Organizing Data: Indices

An index is a logical grouping of similar documents, like a database in the relational world — say a products index and a customers index.

The Data Unit: Documents

A document is the basic indexed unit: a single JSON record with a unique ID inside its index. The example shows one product document.

{
  "product_id": "P101",
  "name": "Wireless Earbuds",
  "brand": "AudioTech",
  "price": 79.99,
  "in_stock": true,
  "description": "High-quality wireless earbuds with noise cancellation."
}

Document Structure: Mapping

A mapping defines how each field is stored and indexed. It shapes how you can search — text for full-text, float for price, and so on.

Scaling Data: Shards

Elasticsearch splits an index into shards — self-contained sub-indexes spread across nodes for horizontal scaling and parallel processing.

Safety Net: Replica Shards

A replica shard is a copy of a primary shard. If a node fails, a replica takes over with no data loss — and it boosts search throughput too. 🛡️

The Big Picture: Interaction

Putting it together: a cluster of nodes hosts shards, shards are slices of an index, an index holds documents, and replicas add redundancy.

Quick Check: Core Concepts

Which of the following statements about Elasticsearch core concepts are TRUE?

Recap: Elasticsearch Foundations

Recap: clusters, nodes, indices, documents, mappings, shards, and replicas are the building blocks of Elasticsearch. Next, you'll spin one up.

Grátis para começar

Aprenda Elasticsearch & Full Text Search Systems com um tutor de IA — grátis

Escreva e execute código real no seu navegador, obtenha ajuda instantânea de um tutor de IA 24/7 e continue de onde parou na web ou no app.

Cursos
12
Aulas
48

Perguntas Frequentes

A aula “Conceitos fundamentais do Elasticsearch” é grátis?

Sim — o texto completo de “Conceitos fundamentais do Elasticsearch” é grátis para ler aqui na web. Para praticá-la interativamente (um editor de código integrado e um tutor de IA 24/7) e desbloquear o restante do curso de Elasticsearch & Full Text Search Systems, atualize para CoddyKit PRO. O curso de Elasticsearch & Full Text Search Systems inclui 4 aulas no total.

O que vou aprender em “Conceitos fundamentais do Elasticsearch”?

Aprenda sobre os principais componentes do Elasticsearch, como nós, clusters, índices, tipos, documentos e fragmentos, e entenda como eles interagem. Você pratica Elasticsearch & Full Text Search Systems com código prático que executa diretamente no navegador, e um tutor de IA 24/7 responde suas dúvidas enquanto trabalha na aula.

Preciso ter experiência prévia para começar Elasticsearch & Full Text Search Systems?

Nenhuma experiência prévia é necessária. Elasticsearch & Full Text Search Systems no CoddyKit é estruturado para alunos iniciantes até avançados, então você pode começar aqui ou desde o início e aprender no seu ritmo. Esta é a aula 2 de 4.

Quanto tempo leva a aula “Conceitos fundamentais do Elasticsearch”?

A maioria das aulas CoddyKit leva cerca de 5–10 minutos. Cada uma é compacta e interativa, então você faz progresso constante e retoma exatamente de onde parou entre web e app.

Posso escrever e executar código nesta aula de Elasticsearch & Full Text Search Systems?

Sim. Cada aula de Elasticsearch & Full Text Search Systems inclui um editor de código integrado, então você escreve e executa código real direto no navegador e recebe feedback de IA instantaneamente — nenhuma configuração local necessária.

Todas as aulas deste curso

  1. O que é a busca de texto completo
  2. Conceitos fundamentais do Elasticsearch
  3. Configurando seu primeiro cluster
  4. Analisadores, tokenizadores e o índice invertido
← Voltar para Elasticsearch & Full Text Search Systems