<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Indexing on Jeiman Jeya</title><link>https://f181b6d2.portfolio-efe.pages.dev/tags/indexing/</link><description>Recent content in Indexing on Jeiman Jeya</description><generator>Hugo</generator><language>en-us</language><managingEditor>tech@jeiman.dev (Jeiman Jeya)</managingEditor><webMaster>tech@jeiman.dev (Jeiman Jeya)</webMaster><lastBuildDate>Sun, 26 Mar 2023 00:00:00 +0000</lastBuildDate><atom:link href="https://f181b6d2.portfolio-efe.pages.dev/tags/indexing/index.xml" rel="self" type="application/rss+xml"/><item><title>How to set up an index alias that points to multiple indices in Elasticsearch</title><link>https://f181b6d2.portfolio-efe.pages.dev/blog/setup-an-index-alias-that-points-to-multiple-indices-in-elasticsearch/</link><pubDate>Sun, 26 Mar 2023 00:00:00 +0000</pubDate><author>tech@jeiman.dev (Jeiman Jeya)</author><guid>https://f181b6d2.portfolio-efe.pages.dev/blog/setup-an-index-alias-that-points-to-multiple-indices-in-elasticsearch/</guid><description>&lt;p&gt;
&lt;figure
 class="image-figure not-prose my-8"
 data-lightbox-enabled="
 false
 "
 data-gallery-type="auto"
 data-image-width="0"
 data-image-height="0"
 data-image-src="https://cdn.hashnode.com/res/hashnode/image/upload/v1679834868507/38777dfa-0320-4d63-b0e2-1d5fe1334b67.png"
&gt;
 &lt;div class="image-container"&gt;
 &lt;img
 src="https://cdn.hashnode.com/res/hashnode/image/upload/v1679834868507/38777dfa-0320-4d63-b0e2-1d5fe1334b67.png"
 alt=""
 
 
 loading="lazy"
 decoding="async"
 data-gallery-src="https://cdn.hashnode.com/res/hashnode/image/upload/v1679834868507/38777dfa-0320-4d63-b0e2-1d5fe1334b67.png"
 data-gallery-alt=""
 data-gallery-title=""
 /&gt;&lt;/div&gt;

 &lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Index aliasing&lt;/strong&gt; is a powerful feature in Elasticsearch that gives us the ability to control the indices. One could create as many indices as possible and use an alias to point to the right index or one can point the index alias to all indices, depending on your application needs.&lt;/p&gt;
&lt;h1 id="scenarios"&gt;Scenarios&lt;a href="#scenarios" class="heading-anchor" aria-label="Link to this section"&gt;&lt;svg class="h-4 w-4" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"&gt;&lt;g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"&gt;&lt;path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/&gt;&lt;path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/a&gt;&lt;/h1&gt;&lt;p&gt;Imagine if you had the following scenarios when working with Elasticsearch for your application needs:&lt;/p&gt;</description></item></channel></rss>