for ( int i = 0; i < numberEntities; i++ ) {
Quote quote = new Quote( 1, i * 10 );
Work work = new Work( quote, quote.id, WorkType.ADD, false );
TransactionContextForTest tc = new TransactionContextForTest();
sfHolder.getSearchFactory().getWorker().performWork( work, tc );
tc.end();
}
}
@Indexed
private static class Quote {