<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Index elasticsearch for specific type</title><link>https://answers.axonivy.com/questions/3590/index-elasticsearch-for-specific-type</link><description>&lt;p&gt;Hi ivyteam&lt;/p&gt;
&lt;p&gt;As i know when Ivy start, it will reindex everything from it's DB to ES index. &lt;/p&gt;
&lt;p&gt;Now i only want to index a specific type of class with:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;List&amp;lt;String&amp;gt; reindexTypes = ...
DiCore.getGlobalInjector().getInstance(IBusinessDataManager.class).startIndexRecreation(reindexTypes );
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Is it a correct way to go?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/3590/index-elasticsearch-for-specific-type" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 18 Dec 2018 06:19:39 -0500</lastBuildDate><item><title>Answer by Alex Suter</title><link>https://answers.axonivy.com/questions/3590/index-elasticsearch-for-specific-type/3591</link><description>&lt;p&gt;Hello &lt;a href="https://answers.axonivy.com/users/118/trungdv"&gt;&lt;a href="https://answers.axonivy.com/users/118/trungdv"&gt;@trungdv&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Ivy does only reindex if there is mismatch between the db and the current es index on startup.&lt;/p&gt;
&lt;p&gt;Yes you can use this to reindex certain types. Attention: This is not public api and can change in further releases.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alex Suter</dc:creator><pubDate>Tue, 18 Dec 2018 06:19:39 -0500</pubDate><guid>https://answers.axonivy.com/questions/3590/index-elasticsearch-for-specific-type/3591</guid></item></channel></rss>