Return-Path: X-Original-To: apmail-streams-dev-archive@minotaur.apache.org Delivered-To: apmail-streams-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CA40017B35 for ; Wed, 8 Oct 2014 20:38:40 +0000 (UTC) Received: (qmail 89740 invoked by uid 500); 8 Oct 2014 20:38:40 -0000 Delivered-To: apmail-streams-dev-archive@streams.apache.org Received: (qmail 89697 invoked by uid 500); 8 Oct 2014 20:38:40 -0000 Mailing-List: contact dev-help@streams.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@streams.incubator.apache.org Delivered-To: mailing list dev@streams.incubator.apache.org Received: (qmail 89685 invoked by uid 99); 8 Oct 2014 20:38:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Oct 2014 20:38:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 08 Oct 2014 20:38:18 +0000 Received: (qmail 89140 invoked by uid 99); 8 Oct 2014 20:38:16 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Oct 2014 20:38:16 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id C756492CF57; Wed, 8 Oct 2014 20:38:15 +0000 (UTC) From: steveblackmon To: dev@streams.incubator.apache.org Reply-To: dev@streams.incubator.apache.org References: In-Reply-To: Subject: [GitHub] incubator-streams pull request: added scrollTimeout to Elasticsear... Content-Type: text/plain Message-Id: <20141008203815.C756492CF57@tyr.zones.apache.org> Date: Wed, 8 Oct 2014 20:38:15 +0000 (UTC) X-Virus-Checked: Checked by ClamAV on apache.org Github user steveblackmon commented on a diff in the pull request: https://github.com/apache/incubator-streams/pull/97#discussion_r18610515 --- Diff: streams-contrib/streams-persist-elasticsearch/src/main/java/org/apache/streams/elasticsearch/ElasticsearchQuery.java --- @@ -128,8 +122,8 @@ public void execute(Object o) { .setExplain(true) .addField("*") .setFetchSource(true) - .setSize(Objects.firstNonNull(batchSize, DEFAULT_BATCH_SIZE).intValue()) --- End diff -- It can't be. It has a default value in the generated configuration object. Steve Blackmon > On Oct 8, 2014, at 1:14 PM, Robert Douglas wrote: > > In streams-contrib/streams-persist-elasticsearch/src/main/java/org/apache/streams/elasticsearch/ElasticsearchQuery.java: > > > @@ -128,8 +122,8 @@ public void execute(Object o) { > > .setExplain(true) > > .addField("*") > > .setFetchSource(true) > > - .setSize(Objects.firstNonNull(batchSize, DEFAULT_BATCH_SIZE).intValue()) > What happens if batchSize is null? > > — > Reply to this email directly or view it on GitHub. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---