You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/06/21 21:34:58 UTC
[jira] [Commented] (NIFI-2065) Limit how much we query Lucene when
performing provenance query
[ https://issues.apache.org/jira/browse/NIFI-2065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15342776#comment-15342776 ]
ASF GitHub Bot commented on NIFI-2065:
--------------------------------------
GitHub user markap14 opened a pull request:
https://github.com/apache/nifi/pull/558
NIFI-2065: When a provenance query matches the max number of results …
…requested, stop querying lucene for improved performance
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/markap14/nifi NIFI-2065
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/558.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #558
----
commit 22a96b1b883484bd269002b9e64acaa0c1f367cf
Author: Mark Payne <ma...@hotmail.com>
Date: 2016-06-21T21:34:15Z
NIFI-2065: When a provenance query matches the max number of results requested, stop querying lucene for improved performance
----
> Limit how much we query Lucene when performing provenance query
> ---------------------------------------------------------------
>
> Key: NIFI-2065
> URL: https://issues.apache.org/jira/browse/NIFI-2065
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Core Framework
> Reporter: Mark Payne
> Fix For: 1.0.0
>
>
> The design of the Persistent Provenance Repository was such that if we read X number of events (1,000 by default) that we stop searching provenance and return these events. We search all Lucene Indices, though, and then stop reading events from the Provenance logs after we reach 1,000. We need to update the code to stop searching Lucene after we obtain 1,000 events.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)