Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 44254 invoked from network); 9 May 2007 07:11:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 May 2007 07:11:04 -0000 Received: (qmail 42819 invoked by uid 500); 9 May 2007 07:11:10 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 42793 invoked by uid 500); 9 May 2007 07:11:10 -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 42784 invoked by uid 99); 9 May 2007 07:11:09 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 May 2007 00:11:09 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of marcel.reutegger@gmx.net designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 09 May 2007 00:11:02 -0700 Received: (qmail invoked by alias); 09 May 2007 07:10:41 -0000 Received: from bsl-rtr.day.com (EHLO [10.0.0.117]) [62.192.10.254] by mail.gmx.net (mp043) with SMTP; 09 May 2007 09:10:41 +0200 X-Authenticated: #894343 X-Provags-ID: V01U2FsdGVkX18d1XMJRB0dgY+v3Wlq333oNaxSHf2Yom9+PHUGUF q4/QsmP8jnCv0u Message-ID: <464173DE.4090807@gmx.net> Date: Wed, 09 May 2007 09:10:22 +0200 From: Marcel Reutegger User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: users@jackrabbit.apache.org Subject: Re: How Can I catch the "excerpt" value from highlighting? References: <9773d7dd0705080439h69125b4cse3b9f1c2948ac9f9@mail.gmail.com> In-Reply-To: <9773d7dd0705080439h69125b4cse3b9f1c2948ac9f9@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org Hi Alexandre, Alexandre Martins wrote: > I�m trying to use the highlighting, but i dont know how can I take the > value... as a property? > element.getProperty("jcr:excerpt").getString() please note that the prefix is wrong and that it is a function: row.getProperty("rep:excerpt(.)").getString(); > Other question, > Where in a configuration file i need to put this line " name="supportHighlighting" value="true"/>"? The workspace.xml file in /workspaces/ Add it as a child of the SearchIndex element. regards marcel