cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Cocoon Wiki] Update of "LuceneIndexTransformer" by DominiqueDeMunck
Date Tue, 10 Jul 2007 12:59:50 GMT
Dear Wiki user,

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

The following page has been changed by DominiqueDeMunck:

  See [ the Lucene documentation] for explanations
of what they mean.
+ === The optimize-frequency attribute (since version 2.2) ===
+ Determines how often the lucene index will be optimized. When you have 1000's of documents,
optimizing the index
+ can become quite slow (eg. 7 seconds for 9000 small docs, P4).
+   * 1: always optimize (default)
+   * 0: never optimize
+   * x: update every x times. You can use any number, it is a random generator which will
determine to optimize or not. 
+ You can eg. create a pipe without optimizing, which is used to index you're document everytime
when it's modified. 
+ You can then create another pipe which will optimize, which is called manually. 
+ For more info see the Lucene FAQ , What is index optimization and when should I use it?
+ []
  === The directory attribute ===
  This attribute controls where the index files are stored. The path is relative to the Cocoon
{{{work}}} directory.

View raw message