You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by Apache Wiki <wi...@apache.org> on 2007/05/15 15:37:59 UTC

[Jackrabbit Wiki] Trivial Update of "ExcerptProvider" by MarcelReutegger

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.

The following page has been changed by MarcelReutegger:
http://wiki.apache.org/jackrabbit/ExcerptProvider

------------------------------------------------------------------------------
  
  The above code searches for nodes that contain the word jackrabbit and then gets the value of the Title property and an excerpt for each result node.
  
- Starting with Jackrabbit 1.4 it is also possible to use a relative path in the call {{{Row.getValue()}}} while the query statement still remains the same. See [http://issues.apache.org/jira/browse/JCR-860 JCR-860] for more information. Also starting with Jackrabbit 1.4 you may use a relative path to a string property. The returns value will then be an excerpt based on string value of the property.
+ Starting with Jackrabbit 1.4 it is also possible to use a relative path in the call {{{Row.getValue()}}} while the query statement still remains the same. See [http://issues.apache.org/jira/browse/JCR-860 JCR-860] for more information. Also starting with Jackrabbit 1.4 you may use a relative path to a string property. The returned value will then be an excerpt based on string value of the property.
  
  Both available excerpt provider will create fragments of about 150 characters and up to 3 fragments.