OpenWGA 7.11 - TMLScript reference
LuceneMethod :
updateIndex()
On object | Lucene |
Usage |
Run lucene index update immediately |
Description |
This method runs the lucene index updater immediately which will process all currently pending indexing requests. The method returns after the indexing is completed and the index up-to-date. If the indexing does not finish within a timeout of 10 seconds it throws an exception. Use this method to let the current process stops execution until the the lucene index is up-to-date again, for example if you modified a content document and the process should not continue until the changes were indexed. |
Allowed in script types |
|