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: http://wiki.apache.org/cocoon/LuceneIndexTransformer ------------------------------------------------------------------------------ See [http://jakarta.apache.org/lucene/docs/index.html 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? : + + [http://wiki.apache.org/lucene-java/LuceneFAQ#head-fd848c31f4dc7b91727be6f40a7f5fbe2c66cfb8] + === The directory attribute === This attribute controls where the index files are stored. The path is relative to the Cocoon {{{work}}} directory.
