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/09/30 18:03:00 UTC

[jira] [Comment Edited] (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:comment-tabpanel&focusedCommentId=17186648#comment-17186648 ] 

Nissim Shiman edited comment on NIFI-7738 at 9/30/20, 6:02 PM:
---------------------------------------------------------------

This will need to be implemented and/or verified for all four possible provenance repository implementations, where nifi.provenance.repository.implementation is set to:

org.apache.nifi.provenance.WriteAheadProvenanceRepository,
org.apache.nifi.provenance.EncryptedWriteAheadProvenanceRepository,
org.apache.nifi.provenance.PersistentProvenanceRepository,
org.apache.nifi.provenance.VolatileProvenanceRepository



was (Author: nissim shiman):
This will need to be implemented and/or verified for all four possible provenance repository implementations:
org.apache.nifi.provenance.WriteAheadProvenanceRepository,
org.apache.nifi.provenance.EncryptedWriteAheadProvenanceRepository,
org.apache.nifi.provenance.PersistentProvenanceRepository,
org.apache.nifi.provenance.VolatileProvenanceRepository


> 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: 10m
>  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)