else {
// this is a workaround: isTransactionInProgress should return "true"
// for correct configurations.
log.warn( "It appears changes are being pushed to the index out of a transaction. " +
"Register the IndexWorkFlushEventListener listener on flush to correctly manage Collections!" );
WorkQueue queue = new WorkQueue( 2 ); //one work can be split
queueingProcessor.add( work, queue );
queueingProcessor.prepareWorks( queue );
queueingProcessor.performWorks( queue );
}
}