<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: How to persist fields in ivy repo but not index in elastic?</title><link>https://answers.axonivy.com/questions/4010/how-to-persist-fields-in-ivy-repo-but-not-index-in-elastic</link><description>&lt;p&gt;For some projects it is interesting to store all data including files to the database so we can run such instances in docker and share the database. 
This way it would be possible to store the data in the business repo, even as we seen in &lt;a href="https://answers.axonivy.com/questions/1779/how-can-i-persist-a-file-as-blob"&gt;https://answers.axonivy.com/questions/1779/how-can-i-persist-a-file-as-blob&lt;/a&gt; it is not always efficient. But we would not need to index the base64 conent of the file in elastic. Is it possible?&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/4010/how-to-persist-fields-in-ivy-repo-but-not-index-in-elastic" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 24 Sep 2019 04:14:08 -0400</lastBuildDate><item><title>Answer by Christian Strebel</title><link>https://answers.axonivy.com/questions/4010/how-to-persist-fields-in-ivy-repo-but-not-index-in-elastic/4013</link><description>&lt;p&gt;There are ways that elasticsearch does not index some fields, but they are still in the source and go over the wire and are saved in the elastic search. So there is nothing at the moment which does really exclude some fields form the json which goes to the elasticsearch.&lt;/p&gt;
&lt;p&gt;For me the easiest way would be if you store the files in our own table in the database and just reference it form the BusinessData.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christian Strebel</dc:creator><pubDate>Tue, 24 Sep 2019 04:14:08 -0400</pubDate><guid>https://answers.axonivy.com/questions/4010/how-to-persist-fields-in-ivy-repo-but-not-index-in-elastic/4013</guid></item><item><title>Answer by skilchenmann</title><link>https://answers.axonivy.com/questions/4010/how-to-persist-fields-in-ivy-repo-but-not-index-in-elastic/4011</link><description>&lt;p&gt;you could define if a field should be indexed or not: &lt;a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/enabled.html"&gt;https://www.elastic.co/guide/en/elasticsearch/reference/current/enabled.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;as a semi solution ;)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">skilchenmann</dc:creator><pubDate>Tue, 24 Sep 2019 04:09:06 -0400</pubDate><guid>https://answers.axonivy.com/questions/4010/how-to-persist-fields-in-ivy-repo-but-not-index-in-elastic/4011</guid></item></channel></rss>