<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jitendrachouhan on Medium]]></title>
        <description><![CDATA[Stories by Jitendrachouhan on Medium]]></description>
        <link>https://medium.com/@jitendrachouhan120?source=rss-a2cbee4a2a0c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*rUl_XoOluYi3CF7Q</url>
            <title>Stories by Jitendrachouhan on Medium</title>
            <link>https://medium.com/@jitendrachouhan120?source=rss-a2cbee4a2a0c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 16:36:11 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jitendrachouhan120/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Understanding Elastic search: A Comprehensive Overview]]></title>
            <link>https://medium.com/@jitendrachouhan120/understanding-elastic-search-a-comprehensive-overview-1542271c8da5?source=rss-a2cbee4a2a0c------2</link>
            <guid isPermaLink="false">https://medium.com/p/1542271c8da5</guid>
            <dc:creator><![CDATA[Jitendrachouhan]]></dc:creator>
            <pubDate>Mon, 24 Jun 2024 05:16:49 GMT</pubDate>
            <atom:updated>2024-06-24T05:16:49.936Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>What is Elastic search?<br></strong>Elastic search is an open-source search and analytics engine built on Apache Lucene. It’s designed to be highly scalable and distributed, supporting various data types and providing near real-time search results.</p><p>Elasticsearch utilizes a shipping agent known as Beats to transfer raw data from multiple sources into its system.</p><p><strong>Core Components:</strong></p><p><strong>Cluster, Nodes, Shards, and Analyzer</strong></p><p><strong>Cluster</strong>: <br>A cluster is a group of one or more nodes (servers) that collectively manage and store data. It enables federated indexing and search capabilities across all nodes.</p><p><strong>Why Clusters?</strong></p><ul><li><strong>Scalability:</strong> Adding nodes horizontally scales Elasticsearch to handle larger datasets and more search requests.</li><li><strong>High Availability:</strong> Data replication across nodes ensures that failure of one node doesn’t result in data loss.</li><li><strong>Load Balancing:</strong> Queries and indexing requests are balanced across the cluster for enhanced performance.</li></ul><p><strong>Nodes</strong>: Each instance of Elasticsearch within a cluster is a node. Nodes store data and participate in indexing and search functionalities. Multiple nodes can run on a single physical machine.</p><p><strong>Types of Nodes:</strong></p><ul><li><strong>Master Node:</strong> Controls cluster-wide operations such as index management, metadata handling, and shard allocation.</li><li><strong>Data Node:</strong> Stores data, inverted indexes, and performs CRUD operations.</li><li><strong>Client Node:</strong> Acts as a load balancer for routing requests between clients and the Elasticsearch cluster.</li></ul><p><strong>Note</strong>: Client nodes can handle client requests independently of master nodes but may introduce a single point of failure or increased resource usage.</p><p><strong>Ports:</strong></p><ul><li><strong>9200:</strong> Used for external requests filtering.</li><li><strong>9300:</strong> Used for inter-node communication at the transport layer.</li></ul><p><strong>Index:</strong> <br>An index in Elastic search is a collection of logically related documents. It’s the primary unit for data management and organization. There’s no limit to the number of documents an index can store, but exceeding server storage limits may lead to Elastic search crashes.</p><p><strong>Shards:</strong> <br>Indexes are divided into smaller units called shards, which enhance operational efficiency and overall performance.After index creation, you can create multiple shards, each functioning as a Lucene index hosted anywhere in the cluster.</p><p><strong>Replicas:</strong> <br>Replicas are copies of index shards used for failover and data redundancy purposes.Replicas are stored on nodes separate from those containing the original primary shards.</p><p><strong>Analyzer:</strong> <br>Analyzer preprocess text data during indexing and querying, breaking text into tokens and applying transformations like tokenization, normalization, stemming, and stop word removal.</p><p>Analyzer play a critical role in enabling efficient and accurate full-text search capabilities in Elastic search.</p><p><strong>Examples and Benefits</strong></p><ul><li><strong>Tokenization:</strong> Dividing text into words based on specific rules.</li><li><strong>Normalization:</strong> Converting text to a standard case, typically lowercase.</li><li><strong>Stemming:</strong> Reducing words to their root form (e.g., “running” to “run”).</li><li><strong>Stop Word Removal:</strong> Eliminating common words like “a,” “the,” and “and.”</li></ul><p><strong>Benefits:</strong></p><ul><li>Improved search relevance</li><li>Customization options</li><li>Multilingual support</li></ul><p><strong>Elastic search Documents<br></strong>a <strong>document</strong> is the basic unit of information that can be indexed. It is a JSON object that contains data organized into fields, which are key-value pairs. Each document is stored in an index and has a unique identifier (ID) within that index.</p><p><strong>Key Characteristics of a Document in Elasticsearch:</strong></p><ol><li><strong>JSON Format</strong>: Documents are represented in JSON (JavaScript Object Notation) format, which is a lightweight data interchange format that is easy for humans to read and write and for machines to parse and generate.</li><li><strong>Fields</strong>: A document is composed of fields, where each field has a name and a value. The value can be a string, number, date, boolean, array, or even another JSON object.</li><li><strong>Unique Identifier</strong>: Each document has a unique ID within an index. If not provided, Elasticsearch generates one automatically.</li><li><strong>Mapping</strong>: The structure of the documents in an index is defined by a mapping. The mapping specifies the data types for each field, which helps Elasticsearch understand how to index and search the data.</li></ol><p>In conclusion, Elasticsearch’s robust architecture and flexible components make it a powerful tool for building scalable and efficient search and analytics solutions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1542271c8da5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>