if ( bookId % 100 == 0 ) {
log( "InsertBookTask: bookId=" + bookId );
}
}
Book book = new Book();
book.setId( bookId );
book.setTitle( "title" + bookId );
book.setSummary( SUMMARIES[(int) ( bookId % SUMMARIES.length )] );
book.setRating( 0.0f );
book.setTotalSold( 0L );
book.setPublicationDate( DateUtils.addDays( PUBLICATION_DATE_ZERO, (int) ( bookId % 1000 ) ) );
book.getAuthors().add( new Author( authorId, "author" + authorId ) );
fts.merge( book );
}