From users-return-18277-apmail-jackrabbit-users-archive=jackrabbit.apache.org@jackrabbit.apache.org Wed Oct 26 20:21:02 2011 Return-Path: X-Original-To: apmail-jackrabbit-users-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AC8FD7B86 for ; Wed, 26 Oct 2011 20:21:02 +0000 (UTC) Received: (qmail 91649 invoked by uid 500); 26 Oct 2011 20:21:02 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 91628 invoked by uid 500); 26 Oct 2011 20:21:02 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 91620 invoked by uid 99); 26 Oct 2011 20:21:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Oct 2011 20:21:02 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aklimets@adobe.com designates 64.18.1.35 as permitted sender) Received: from [64.18.1.35] (HELO exprod6og115.obsmtp.com) (64.18.1.35) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Oct 2011 20:20:54 +0000 Received: from outbound-smtp-1.corp.adobe.com ([192.150.11.134]) by exprod6ob115.postini.com ([64.18.5.12]) with SMTP; Wed, 26 Oct 2011 13:20:34 PDT Received: from inner-relay-1.corp.adobe.com ([153.32.1.51]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id p9QKIu53006187 for ; Wed, 26 Oct 2011 13:18:56 -0700 (PDT) Received: from nacas01.corp.adobe.com (nacas01.corp.adobe.com [10.8.189.99]) by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id p9QKKV5T006026 for ; Wed, 26 Oct 2011 13:20:32 -0700 (PDT) Received: from eurhub01.eur.adobe.com (10.128.4.30) by nacas01.corp.adobe.com (10.8.189.99) with Microsoft SMTP Server (TLS) id 8.3.192.1; Wed, 26 Oct 2011 13:19:03 -0700 Received: from eurmbx01.eur.adobe.com ([10.128.4.32]) by eurhub01.eur.adobe.com ([10.128.4.30]) with mapi; Wed, 26 Oct 2011 21:19:01 +0100 From: Alexander Klimetschek To: "users@jackrabbit.apache.org" Date: Wed, 26 Oct 2011 21:19:00 +0100 Subject: Re: AW: AW: AW: How do I get the total size of nodes/rows from a QueryResult Thread-Topic: AW: AW: AW: How do I get the total size of nodes/rows from a QueryResult Thread-Index: AcyUHH/dTs2lByBkTw+dg5bVk111Fw== Message-ID: In-Reply-To: Accept-Language: de-DE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.13.0.110805 acceptlanguage: de-DE, en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 On 26.10.11 19:06, "Sascha.Theves@bosch-si.com" wrote: >I tried to increase the extractorTimeout or to completely remove the >background processes by setting the extractorPoolSize to 0 but nothing >worked. If I put a delay of 1 second after saving my nodes every test >passes. So the problem is definitely caused by the extractor jobs but it >seems that I cannot disable them in my tests... :( Hmm, I don't know why the changes have no effect. >Any ideas? Maybe jackrabbit doesn`t respect the settings... I really do >not want to implement a delay in my tests because you can`t choose the >right delay in my opinion and it has something to do with the upgrade to >2.2.9 because these tests never failed with jackrabbit 1.6... The full text search index is not specified (by the jcr spec) to be synchronous. So it would be ok if the app has to wait a bit. But I agree that doing that in the tests could be a bit cumbersome. Cheers, Alex --=20 Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel