<?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: Nifi twitter term in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Nifi-twitter-term/m-p/288395#M213618</link>
    <description>&lt;P&gt;I tried to use regex but it didn't work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes the space bt space did really work, I'm thinking to cover other cases by adding space bt &amp;amp; bt space in case they are at the beginning or end of sentence.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help, really appreciate it!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jan 2020 05:29:22 GMT</pubDate>
    <dc:creator>KUnew</dc:creator>
    <dc:date>2020-01-28T05:29:22Z</dc:date>
    <item>
      <title>Nifi twitter term</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-twitter-term/m-p/288072#M213430</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to ask what is the proper way to define the terms in Gettwitter processor terms to filter.&lt;/P&gt;
&lt;P&gt;I'm trying to retrieve tweets that include the word bt by just writing bt in terms to filter however i'm getting tweets that include the two letters bt in a word such as bt*** or ****bt or ***bt***.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is a screenshot of the processor&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pro.PNG" style="width: 549px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/26108i3204F68A214C35D8/image-dimensions/549x311?v=v2" width="549" height="311" role="button" title="pro.PNG" alt="pro.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;and this is a sample tweet retrieved by the processor&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 448px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/26109iFD6D1192FFD039C9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I just need tweets with the two letters word bt. I tried to use single quote like 'bt' and double quote "bt" but i'm not getting any data&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2020 08:00:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-twitter-term/m-p/288072#M213430</guid>
      <dc:creator>KUnew</dc:creator>
      <dc:date>2020-01-22T08:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi twitter term</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-twitter-term/m-p/288322#M213572</link>
      <description>&lt;P&gt;Though many of these kind of fields allow regular expressions, the doc for this one does not mention it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would try to use a regex, but probably it will not work because the field allows comma separated input.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From here you would need to get creative.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First of all you could definitely add a filter based on a regex afterwards (in Route text).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this does not perform sufficiently you can perhaps try spaceBTspace but this is obviously a shortcut that will miss some results. (Also I did not test it).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this particular case BT preceded or followed by a space may capture most cases.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;So far the regular recommendations, if you really want to go all the way you could probably create your own get twitter, but I would start with the two step filter and see if it works for you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jan 2020 12:06:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-twitter-term/m-p/288322#M213572</guid>
      <dc:creator>DennisJaheruddi</dc:creator>
      <dc:date>2020-01-26T12:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi twitter term</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-twitter-term/m-p/288395#M213618</link>
      <description>&lt;P&gt;I tried to use regex but it didn't work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes the space bt space did really work, I'm thinking to cover other cases by adding space bt &amp;amp; bt space in case they are at the beginning or end of sentence.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help, really appreciate it!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 05:29:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-twitter-term/m-p/288395#M213618</guid>
      <dc:creator>KUnew</dc:creator>
      <dc:date>2020-01-28T05:29:22Z</dc:date>
    </item>
  </channel>
</rss>

