You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Nissim Shiman (Jira)" <ji...@apache.org> on 2020/12/09 19:47:00 UTC

[jira] [Updated] (NIFI-7738) Provenance Search Events - add feature to allow inverse query

     [ https://issues.apache.org/jira/browse/NIFI-7738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nissim Shiman updated NIFI-7738:
--------------------------------
    Status: Patch Available  (was: In Progress)

> Provenance Search Events - add feature to allow inverse query
> -------------------------------------------------------------
>
>                 Key: NIFI-7738
>                 URL: https://issues.apache.org/jira/browse/NIFI-7738
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Nissim Shiman
>            Assignee: Nissim Shiman
>            Priority: Major
>         Attachments: provenanceSearchEvents_InverseSearch.png
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> A feature that some NiFi administrators would find useful is doing an inverse search on provenance.
> So for example, instead of just being able to search on provenance to find provenance with Event Type of SEND
> we also have the option of finding all provenance that does NOT have Event Type of SEND.
> The underlying apache lucene already supports Boolean queries.  
> Actually, NiFi is already doing a Boolean query. 
> But now instead of doing an Occur.MUST, NiFi will also be able to do an Occur.MUST_NOT [1]
> There will be a GUI change as well, (see attached snapshot/picture) as there will be a "NOT" column header at the far right of the Provenance's Search Events pop up, with checkboxes underneath it (i.e. a checkbox to the right of each fieldname/value that a user can query provenance events for).    If the checkbox is checked, then the user is indicating to do an inverse query for the value entered.
> [1] https://github.com/apache/nifi/blob/main/nifi-nar-bundles/nifi-provenance-repository-bundle/nifi-persistent-provenance-repository/src/main/java/org/apache/nifi/provenance/lucene/LuceneUtil.java#L108



--
This message was sent by Atlassian Jira
(v8.3.4#803005)