<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Delete data in Elasticsearch before loading in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Delete-data-in-Elasticsearch-before-loading/m-p/2248469#M33313</link>
    <description>&lt;P&gt;Morning Community!&amp;nbsp; Here's another one for you...&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;We are loading ESS (AWS Elasticsearch Service) via a Big Data Batch job in Talend Studio 7.0.1.&amp;nbsp; What we need to know the best practice for is how to delete all existing documents in an index before re-loading.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;For example, if we run the job and load 2000 'records' (documents in ESS terminology), the next time the job runs we want to remove them all first.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;We've seen on other components, like the Redshift Output one, that there is a drop down to select update/delete/insert/truncate/etc... but this type of functionality doesn't exist on the ESS Output component.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Any insight is greatly appreciated&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;thanks&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 07:18:00 GMT</pubDate>
    <dc:creator>bradsheridan</dc:creator>
    <dc:date>2024-11-16T07:18:00Z</dc:date>
    <item>
      <title>Delete data in Elasticsearch before loading</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Delete-data-in-Elasticsearch-before-loading/m-p/2248469#M33313</link>
      <description>&lt;P&gt;Morning Community!&amp;nbsp; Here's another one for you...&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;We are loading ESS (AWS Elasticsearch Service) via a Big Data Batch job in Talend Studio 7.0.1.&amp;nbsp; What we need to know the best practice for is how to delete all existing documents in an index before re-loading.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;For example, if we run the job and load 2000 'records' (documents in ESS terminology), the next time the job runs we want to remove them all first.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;We've seen on other components, like the Redshift Output one, that there is a drop down to select update/delete/insert/truncate/etc... but this type of functionality doesn't exist on the ESS Output component.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Any insight is greatly appreciated&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;thanks&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:18:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Delete-data-in-Elasticsearch-before-loading/m-p/2248469#M33313</guid>
      <dc:creator>bradsheridan</dc:creator>
      <dc:date>2024-11-16T07:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: Delete data in Elasticsearch before loading</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Delete-data-in-Elasticsearch-before-loading/m-p/2248470#M33314</link>
      <description>&lt;P&gt;Hi again...I not only posted my question here in the Community, but I had also reached out to Talend directly.&amp;nbsp; Here is their response:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;"We don’t have elastic search delete components in spark jobs, but&amp;nbsp; if AWS has a rest API that we can leverage – you can first delete the index or records using that rest api from Talend DI job ( for e.g., tRestClient can be used).&lt;/P&gt; 
&lt;P&gt;Else if AWS has any java SDK, you can use that SDK directly in spark jobs to delete index."&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;so it sounds like my question is answered.&amp;nbsp; Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 15:33:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Delete-data-in-Elasticsearch-before-loading/m-p/2248470#M33314</guid>
      <dc:creator>bradsheridan</dc:creator>
      <dc:date>2018-11-14T15:33:52Z</dc:date>
    </item>
  </channel>
</rss>

