<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Use nested query of elasticsearch in Ivy</title><link>https://answers.axonivy.com/questions/2646/use-nested-query-of-elasticsearch-in-ivy</link><description>&lt;p&gt;Hello Ivy team,&lt;/p&gt;
&lt;p&gt;Currently my team wants to use nested query in elasticsearch. Does Ivy support to search nested object in elastic search? Could show me how to configure to use nested query?&lt;/p&gt;
&lt;p&gt;Thanks in advanced
Lan Bui&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/2646/use-nested-query-of-elasticsearch-in-ivy" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 30 May 2017 08:10:14 -0400</lastBuildDate><item><title>Answer by Reto Weiss</title><link>https://answers.axonivy.com/questions/2646/use-nested-query-of-elasticsearch-in-ivy/2648</link><description>&lt;p&gt;Hi &lt;/p&gt;
&lt;p&gt;We do not support nested queries over the search API currently. However you can use the following method to use elastic search query directly:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;String elasticSearchQuery = "...";  // configure your elastic search query here!
ivy.repo.search(Person.class).raw(elasticSearchQuery);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Reto&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reto Weiss</dc:creator><pubDate>Tue, 30 May 2017 08:10:14 -0400</pubDate><guid>https://answers.axonivy.com/questions/2646/use-nested-query-of-elasticsearch-in-ivy/2648</guid></item></channel></rss>