Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 15262 invoked from network); 14 Jun 2007 09:41:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Jun 2007 09:41:29 -0000 Received: (qmail 1352 invoked by uid 500); 14 Jun 2007 09:41:31 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 1318 invoked by uid 500); 14 Jun 2007 09:41:31 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 1309 invoked by uid 99); 14 Jun 2007 09:41:31 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jun 2007 02:41:31 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=FROM_NO_LOWER X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [194.8.61.2] (HELO mailslot1.tirol.gv.at) (194.8.61.2) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jun 2007 02:41:21 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: AW: Re: Loading Node without loading Binary Data Date: Thu, 14 Jun 2007 11:40:35 +0200 Message-ID: In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Re: Loading Node without loading Binary Data Thread-Index: AceuZgkGIiWQ1nBYRKK48O2D/KMsygAARGnA References: From: =?iso-8859-1?Q?K=D6LL_Claus?= To: X-OriginalArrivalTime: 14 Jun 2007 09:40:35.0090 (UTC) FILETIME=[0EC3E720:01C7AE68] X-Virus-Checked: Checked by ClamAV on apache.org hi christoph, as you can see from my second mail i am using the bundle oracle pm. the node iterator which i get from a fulltext search has only nodes from = type jcr:content.=20 my opinion only to load the parent (where the meta data are stored) = does not really work because if i make nextNode() on the iterator the binarys will be load = and then it makes no more different to get the parent node of the jcr:content node. if i set the minimum blob size to a low value the binarys will be loaded = only if i try to get the property from the jcr:content node is this right ? BR, claus -----Urspr=FCngliche Nachricht----- Von: news [mailto:news@sea.gmane.org] Im Auftrag von Christoph Kiehl Gesendet: Donnerstag, 14. Juni 2007 11:15 An: dev@jackrabbit.apache.org Betreff: Re: Loading Node without loading Binary Data K=D6LL Claus wrote: > Is it possible to get a node without loading the binary data ? > my search is very fast but i have a lot of huge pdf files and if i get = a result set with about 20 files > i only want to get the name and some meta date from the node but not = the binarys in the first step. AFAIK this depends on which persistence manager you use. If you use a=20 bundle persistence manager you can configure the minimum blob size. If=20 your binary is bigger than that (default is 4096 bytes) it is written=20 and read separately from the node state. If you don't use a bundle persistence manager your properties are=20 probably only loaded on demand anyway. I your case I would guess that binaries are not loaded until you try to=20 access that property. Which persistence manager do you use? Cheers, Christoph