OpenWGA 7.6 - Configuration references

Java system variables

de.innovationgate.wga.lucene.disableAutoIndexOptimization

Purpose: Deactivates automatic optimization of the lucene index
Contents: true | false
Default value: false
Normally the automatic optimization of the lucene index is done after each modification to it. It ensures that the index can be queried with optimal performance. However this is a resource consuming process which can take a lot of time, especially with very large indexes. Therefor it is possible to disable automatic optimization via this variable.

When deactivating it you should instead provide a process that does a scheduled optimization of the index so the index does not get too fragmented, at best in a OpenWGA scheduler job. Therefor you should define a TMLScript task on this job that executes the following code:

wgacore.getLuceneManager().optimizeIndex();