jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: How Can I catch the "excerpt" value from highlighting?
Date Wed, 09 May 2007 07:10:22 GMT
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:


> Other question,
> Where in a configuration file i need to put this line "<param
> name="supportHighlighting" value="true"/>"?

The workspace.xml file in <your-repository-home-dir>/workspaces/<workspace-name>

Add it as a child of the SearchIndex element.


View raw message