[ 
https://issues.apache.org/jira/browse/NIFI-1988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15329062#comment-15329062
 ] 

Raymond commented on NIFI-1988:
-------------------------------

Another possibility is to put the filter options in a separate property "Filter 
strategy" with a combobox as value (Example values: Regex, Exact, Contains, 
Prefix, Suffix, File extension etc)

> 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: 1.0.0
>         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)

Reply via email to