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 2008/08/11 14:27:15 UTC

[Jackrabbit Wiki] Update of "IndexingConfiguration" 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/IndexingConfiguration

The comment on the change is:
Added documentation about new attribute useInExcerpt

------------------------------------------------------------------------------
    </index-rule>
  </configuration>
  }}}
+ 
+ Another new feature in Jackrabbit version 1.5 is a new attribute that controls whether the value of a property should be used to create an excerpt. The value of the property is still full-text indexed when set to false, but it will never show up in an excerpt for its parent node.
+ 
+ {{{
+ <?xml version="1.0"?>
+ <!DOCTYPE configuration SYSTEM "http://jackrabbit.apache.org/dtd/indexing-configuration-1.1.dtd">
+ <configuration xmlns:nt="http://www.jcp.org/jcr/nt/1.0">
+   <index-rule nodeType="nt:unstructured">
+     <property useInExcerpt="false">LastModifiedBy</property>
+     <property isRegexp="true">.*Text</property>
+   </index-rule>
+ </configuration>
+ }}}
+ 
+ For backward compatibility reasons default value for the new property {{{useInExcerpt}}} is {{{true}}}.
  
  === Index Aggregates ===