<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: How to get all values with expression language in Apache Nifi Process Property (FetchElasticsearch) in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-get-all-values-with-expression-language-in-Apache/m-p/159462#M33177</link>
    <description>&lt;P&gt;The FetchElasticsearch processor uses the &lt;A target="_blank" href="https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-get.html"&gt;Get API&lt;/A&gt;, which requires a single document identifier and doesn't support regular expressions. As an alternative, you can use InvokeHttp to call the &lt;A target="_blank" href="https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-multi-get.html"&gt;Multi-Get API&lt;/A&gt; or the &lt;A target="_blank" href="https://www.elastic.co/guide/en/elasticsearch/reference/current/search.html"&gt;Search API&lt;/A&gt;, which give you more control over the retrieval of multiple documents.&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jun 2016 02:35:16 GMT</pubDate>
    <dc:creator>mburgess</dc:creator>
    <dc:date>2016-06-28T02:35:16Z</dc:date>
    <item>
      <title>How to get all values with expression language in Apache Nifi Process Property (FetchElasticsearch)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-get-all-values-with-expression-language-in-Apache/m-p/159461#M33176</link>
      <description>&lt;P&gt;I am trying to create an Apache Nifi model that allows me to read in all my data from Elasticsearch and store it to a file. I have everything connected correctly but the issue I am having is the FetchElasticsearch process is requiring a document identifier (as it should) but I want to get every single item in the index it is searching not just a document with ID 1 for example. I know that Nifi and the process property supports expression language so I have tried simply using a regex expression that should match all characters which should just be:&lt;/P&gt;&lt;PRE&gt;${'*'}
&lt;/PRE&gt;&lt;P&gt;but I get warning when I did this because the process actually looks for the literal document id that is * which of course does not exist. Below are screenshots so hopefully it can help with understanding my issue.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5263-nifi-flow.png" style="width: 473px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20763iE49C49291A4B9C7D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="5263-nifi-flow.png" alt="5263-nifi-flow.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5264-elastic-prop.png" style="width: 830px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20764iD379C18E5BCCE81F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="5264-elastic-prop.png" alt="5264-elastic-prop.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am searching localhost:9300/tweet_library/tweet/(regex expression) so I want all of the documents in tweet_library. Any help is appreciated, thanks.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 12:04:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-get-all-values-with-expression-language-in-Apache/m-p/159461#M33176</guid>
      <dc:creator>trz</dc:creator>
      <dc:date>2019-08-18T12:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to get all values with expression language in Apache Nifi Process Property (FetchElasticsearch)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-get-all-values-with-expression-language-in-Apache/m-p/159462#M33177</link>
      <description>&lt;P&gt;The FetchElasticsearch processor uses the &lt;A target="_blank" href="https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-get.html"&gt;Get API&lt;/A&gt;, which requires a single document identifier and doesn't support regular expressions. As an alternative, you can use InvokeHttp to call the &lt;A target="_blank" href="https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-multi-get.html"&gt;Multi-Get API&lt;/A&gt; or the &lt;A target="_blank" href="https://www.elastic.co/guide/en/elasticsearch/reference/current/search.html"&gt;Search API&lt;/A&gt;, which give you more control over the retrieval of multiple documents.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2016 02:35:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-get-all-values-with-expression-language-in-Apache/m-p/159462#M33177</guid>
      <dc:creator>mburgess</dc:creator>
      <dc:date>2016-06-28T02:35:16Z</dc:date>
    </item>
  </channel>
</rss>

