JSR-352: Update example usage of Mass Indexing Job in Javadoc

Description

The Javadoc is obsolete and need to be updated:

org.hibernate.search.jsr352.massindexing.MassIndexingJob.java

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 /** * A utility class to start the Hibernate Search JSR-352 mass indexing job. * <p> * Use it like this: * <code><pre> * jobOperator.start( * MassIndexingJob.NAME, * MassIndexingJob.parameters() * .forEntities( String.class, Integer.class ) * .entityFetchSize( 1000 ) * .rowsPerPartition( 10_000 ) * .maxResults( 1000 ) * .maxThreads( 30 ) * .purgeAtStart( true ) * .build() * ); * </pre></code> * * @author Mincong Huang */ public final class MassIndexingJob { ... }

Environment

None

Status

Assignee

Mincong Huang

Reporter

Mincong Huang

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Priority

Major