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 "<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.

regards
 marcel

Reply via email to