jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jackrabbit Wiki] Update of "IndexingConfiguration" by MarcelReutegger
Date Mon, 11 Aug 2008 12:27:15 GMT
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 ===
  

Mime
View raw message