Hi Michael,

it is indeed possible, but it is a rather hidden feature. even if you select rep:excerpt(.) in your statement, you can still retrieve excerpts from properties on a returned node using:

Row row = ...
String contentExcerpt = row.getValue("rep:excerpt(Content)");

regards
 marcel

Michael MacFadden wrote:
Hi,

Is there a way to get an excerpt of a specific property in a node. For examle I have a node with the following properties:

Title:  Chapter 1
Content:  This is Chapter 1.

If I use a query like:

SELECT rep:excerpt(.) from mynt:node where contains( ., 'chapter' )

When i get the excerpt I get and excerpt fragment from the title and the content. I want to get excerpts from the content property only. Is this possible?

Thanks.



Reply via email to