You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Raymond (JIRA)" <ji...@apache.org> on 2016/06/09 14:23:20 UTC

[jira] [Created] (NIFI-1988) File filter options

Raymond created NIFI-1988:
-----------------------------

             Summary: File filter options
                 Key: NIFI-1988
                 URL: https://issues.apache.org/jira/browse/NIFI-1988
             Project: Apache NiFi
          Issue Type: Wish
          Components: Extensions
    Affects Versions: 0.6.1
         Environment: Windows
            Reporter: Raymond
            Priority: Minor


File Filter on the GetFile processor accepts a regular expression (Java Regex).  As not all developers use Java/Regex it would nice to give other file filter options as well, like filename exact, contains, prefix and suffix. 

For example the file "helloworld.txt" would be picked up if:

filename_exact		--> helloworld.txt
filename_contains   --> helloworld.txt, ello, d.txt
filename_prefix	       --> hello, helloworld	
filename_suffix        --> .txt, txt, world.txt

I don't know if this is current possible, but it would be nice to add this as a combobox on top of the value field (regex, exact, contains, prefix, suffix).

Underneath the filter could still be a regular expression (if other filters would slow down the pick up process).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)