<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Get data from database directly not via ElasticSearch</title><link>https://answers.axonivy.com/questions/3935/get-data-from-database-directly-not-via-elasticsearch</link><description>&lt;p&gt;Hi everyone,
I have a case can not get data via ElasticSearch, I want to get data from iwa_bussiness in the database directly.
Have any Ivy API to support this case?.
Thank!&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/3935/get-data-from-database-directly-not-via-elasticsearch" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 29 Aug 2019 04:16:58 -0400</lastBuildDate><item><title>Comment by Alex Suter on Alex Suter's answer</title><link>https://answers.axonivy.com/questions/3935/get-data-from-database-directly-not-via-elasticsearch#3946</link><description>&lt;p&gt;We don't provide an API for that and there is no plan to provide such an API in future. What's the problem to end up with Elasticsearch?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alex Suter</dc:creator><pubDate>Thu, 29 Aug 2019 04:16:58 -0400</pubDate><guid>https://answers.axonivy.com/questions/3935/get-data-from-database-directly-not-via-elasticsearch#3946</guid></item><item><title>Comment by Phuoc Nguyen on Alex Suter's answer</title><link>https://answers.axonivy.com/questions/3935/get-data-from-database-directly-not-via-elasticsearch#3945</link><description>&lt;p&gt;Thank for your answer Alex Suter. My problem still not solved&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Phuoc Nguyen</dc:creator><pubDate>Thu, 29 Aug 2019 04:15:09 -0400</pubDate><guid>https://answers.axonivy.com/questions/3935/get-data-from-database-directly-not-via-elasticsearch#3945</guid></item><item><title>Comment by Alex Suter on Phuoc Nguyen's question</title><link>https://answers.axonivy.com/questions/3935/get-data-from-database-directly-not-via-elasticsearch#3942</link><description>&lt;p&gt;See my answer below. Why do you care about this?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alex Suter</dc:creator><pubDate>Thu, 29 Aug 2019 02:36:16 -0400</pubDate><guid>https://answers.axonivy.com/questions/3935/get-data-from-database-directly-not-via-elasticsearch#3942</guid></item><item><title>Answer by Alex Suter</title><link>https://answers.axonivy.com/questions/3935/get-data-from-database-directly-not-via-elasticsearch/3941</link><description>&lt;p&gt;As far as you make a search with &lt;code&gt;ivy.repo.search(...)&lt;/code&gt; you will end up an in an Elasticsearch query. If you load your business data by &lt;strong&gt;id&lt;/strong&gt; with &lt;code&gt;ivy.repo.find(...)&lt;/code&gt; there will be no Elasticsearch query. It is not possible to load a list of BusinessData directly from SystemDb.&lt;/p&gt;
&lt;p&gt;At the end of the day, you should not care about our internals.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alex Suter</dc:creator><pubDate>Thu, 29 Aug 2019 02:35:14 -0400</pubDate><guid>https://answers.axonivy.com/questions/3935/get-data-from-database-directly-not-via-elasticsearch/3941</guid></item><item><title>Comment by Phuoc Nguyen on Phuoc Nguyen's question</title><link>https://answers.axonivy.com/questions/3935/get-data-from-database-directly-not-via-elasticsearch#3940</link><description>&lt;p&gt;Hi Alex Suter, In my case I want to get list of dossier from database directly.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Phuoc Nguyen</dc:creator><pubDate>Wed, 28 Aug 2019 23:10:01 -0400</pubDate><guid>https://answers.axonivy.com/questions/3935/get-data-from-database-directly-not-via-elasticsearch#3940</guid></item></channel></rss>