Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 61047 invoked from network); 9 Sep 2010 19:59:34 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Sep 2010 19:59:34 -0000 Received: (qmail 15602 invoked by uid 500); 9 Sep 2010 19:59:33 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 15568 invoked by uid 500); 9 Sep 2010 19:59:33 -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 15559 invoked by uid 99); 9 Sep 2010 19:59:32 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Sep 2010 19:59:32 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of monkiki@gmail.com designates 209.85.214.42 as permitted sender) Received: from [209.85.214.42] (HELO mail-bw0-f42.google.com) (209.85.214.42) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Sep 2010 19:59:27 +0000 Received: by bwz7 with SMTP id 7so2320451bwz.1 for ; Thu, 09 Sep 2010 12:59:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=xH52/KTfcWcf/KILVnw6PV9g9K3irXbOTwjz+8lBvZg=; b=nqGapydhtShsjWEW7MlXEfsgMzvUQeZtNmm56m+zOGcImc8KgKrLStvRloLv9DXTLq ogtSTio9uWUcjz0vvlxLIvFCfDnU618P+TI2br70Em4EdRklcDhImushuzumXPkwZtqe lVhHbsta+tC3EIJMutX/H6MhCjzyOBAGH/EQk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=BACnhZzVZnLVhSVJNGfU9JFUrBEcGR2afa/I2EMY7gKaPAsNScKgQUzUYAz4VvlYot QidMWJQvOV81UAEatckR3fbE7STCOsqqAI9yyBnE+b8Bpnf+bmQrw+l0b+NfcB94+pIQ +bDn7yjpB+ly7rCKFgcghbn+H3jzYHzFHiDbI= MIME-Version: 1.0 Received: by 10.204.178.67 with SMTP id bl3mr1186351bkb.161.1284062345573; Thu, 09 Sep 2010 12:59:05 -0700 (PDT) Received: by 10.204.119.82 with HTTP; Thu, 9 Sep 2010 12:59:05 -0700 (PDT) In-Reply-To: References: Date: Thu, 9 Sep 2010 21:59:05 +0200 Message-ID: Subject: Re: About jcr:contains for binary content and properties From: Paco Avila To: users@jackrabbit.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Thanks Jukka. After reading the whole email conversation, the main answer to my initial problem is "you can but is hard to do". I mean, the need of search only by the extracted (and indexed) document content seems to be very simple (from my point of view) but is very complex. I have also been playing with IndexingConfiguration (http://wiki.apache.org/jackrabbit/IndexingConfiguration) because the nodeScopeIndex="false" may help me to achieve the desired behavior, but does not seem to work. At least with Jackrabbit 1.6.1 :( With this configuration: okm:author okm:size okm:versionComment the okm:author, okm:size and okm:versionComment properties are not indexed, but but neither is indexed jcr:data. Note: my okm:resource extends from nt:resource, as you can see in the node type definition: [okm:resource] > nt:resource, mix:versionable - okm:size (long) mandatory - okm:author (string) mandatory - okm:text (string) - okm:versionComment (string) copy On Thu, Sep 9, 2010 at 8:40 PM, Jukka Zitting wrote: > Hi, > > 2010/9/9 Slavek Tecl : >> See the post named "Searching for binary values" [...] > > ... or just follow the link: http://markmail.org/message/5pr2zqyt4s4t4azb > > BR, > > Jukka Zitting > -- OpenKM http://www.openkm.com http://www.guia-ubuntu.org