java.lang.Object
org.hibernate.search.batch.jsr352.core.massindexing.MassIndexingJob

public final class MassIndexingJob extends Object
A utility class to start the Hibernate Search JSR-352 mass indexing job.

Use it like this: jobOperator.start( MassIndexingJob.NAME, MassIndexingJob.parameters() .forEntities( EntityA.class, EntityB.class ) .build() ); You can also add optional parameters to tune your job execution. See our documentation for more detail.

Author:
Mincong Huang