<?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 02:35:14 -0400</lastBuildDate><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></channel></rss>