Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DB46A200B27 for ; Wed, 22 Jun 2016 19:30:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D9EB4160A68; Wed, 22 Jun 2016 17:30:10 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5EB89160A24 for ; Wed, 22 Jun 2016 19:30:10 +0200 (CEST) Received: (qmail 31162 invoked by uid 500); 22 Jun 2016 17:30:09 -0000 Mailing-List: contact commits-help@nifi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nifi.apache.org Delivered-To: mailing list commits@nifi.apache.org Received: (qmail 31143 invoked by uid 99); 22 Jun 2016 17:30:09 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jun 2016 17:30:09 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6D6A72C14E1 for ; Wed, 22 Jun 2016 17:30:09 +0000 (UTC) Date: Wed, 22 Jun 2016 17:30:09 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: commits@nifi.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (NIFI-2065) Limit how much we query Lucene when performing provenance query MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 22 Jun 2016 17:30:11 -0000 [ https://issues.apache.org/jira/browse/NIFI-2065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15344789#comment-15344789 ] ASF GitHub Bot commented on NIFI-2065: -------------------------------------- Github user mattyb149 commented on the issue: https://github.com/apache/nifi/pull/558 +1 LGTM, tested with plenty of provenance events, verified the "Skipping search" entry appeared in the log. > 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)