* operations. This work is not done async.
* @param work
*/
public void doWorkInSync(LuceneWork work) {
checkIsNotClosed();
LuceneWorkDelegate delegate = work.getWorkDelegate( visitor );
delegate.performWork( work, workspace.getIndexWriter( true ) );
delegate.logWorkDone( work , monitor );
//if the IndexWriter was opened, it's not closed now.
}