المفاهيم الأساسية في Elasticsearch
تعلّم مكونات Elasticsearch الأساسية، مثل العقد والعناقيد والفهارس والأنواع والمستندات والأجزاء، وكيفية تفاعلها.
المفاهيم الأساسية في Elasticsearch درس مجاني في Elasticsearch & Full Text Search Systems على CoddyKit. هذا هو الدرس 2 من أصل 4. يمكنك قراءة الدرس كاملاً أدناه مجاناً — ثم تمرن عليه مباشرة في المتصفح باستخدام محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7. هذا الدرس جزء من مسار التعلم في Elasticsearch & Full Text Search Systems، وتقدمك يتزامن عبر الويب وتطبيق CoddyKit. تتضمن دورة Elasticsearch & Full Text Search Systems 4 دروس في المجموع.
بعض أجزاء هذا الدرس لم تُترجم بعد وتظهر باللغة الإنجليزية.
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.
الأسئلة الشائعة
هل درس «المفاهيم الأساسية في Elasticsearch» مجاني؟
نعم — نص درس «المفاهيم الأساسية في Elasticsearch» كامل متاح مجاناً هنا على الويب. لتمرينه بشكل تفاعلي (محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7) وفتح باقي دورة Elasticsearch & Full Text Search Systems، انتقل إلى CoddyKit PRO. تتضمن دورة Elasticsearch & Full Text Search Systems 4 دروس في المجموع.
ماذا ستتعلم في «المفاهيم الأساسية في Elasticsearch»؟
تعلّم مكونات Elasticsearch الأساسية، مثل العقد والعناقيد والفهارس والأنواع والمستندات والأجزاء، وكيفية تفاعلها. تتمرن على Elasticsearch & Full Text Search Systems مع أكواد عملية تشغلها مباشرة في المتصفح، ومدرس ذكاء اصطناعي متاح 24/7 يجيب على أسئلتك أثناء عملك.
هل أحتاج إلى خبرة سابقة لأبدأ Elasticsearch & Full Text Search Systems؟
لا تُشترط خبرة سابقة. Elasticsearch & Full Text Search Systems على CoddyKit منظم للمبتدئين حتى المتقدمين، لذا يمكنك البدء من هنا أو من البداية والتقدم بسرعتك الخاصة. هذا هو الدرس 2 من أصل 4.
كم من الوقت يستغرق درس «المفاهيم الأساسية في Elasticsearch»؟
معظم دروس CoddyKit تستغرق حوالي 5–10 دقائق. كل منها موجز وتفاعلي، لذا تحرز تقدماً مستمراً وتستأنف من حيث توقفت عبر الويب والتطبيق.
هل يمكنني كتابة وتشغيل أكواد في درس Elasticsearch & Full Text Search Systems هذا؟
نعم. كل درس في Elasticsearch & Full Text Search Systems يتضمن محرر أكواد مدمج، لذا تكتب وتشغل أكواداً حقيقية مباشرة في متصفحك وتحصل على تعليقات فورية من الذكاء الاصطناعي — بدون إعداد محلي.
جميع الدروس في هذه الدورة
- ما البحث في النص الكامل؟
- المفاهيم الأساسية في Elasticsearch
- إعداد عنقودك الأول
- المحللات والمجزئات والفهرس المعكوس