Class MassIndexingJob
java.lang.Object
org.hibernate.search.jakarta.batch.core.massindexing.MassIndexingJob
A utility class to start the Hibernate Search Jakarta Batch 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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Parameter builder for mass-indexing job.static class
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescription
-
Field Details
-
NAME
- See Also:
-
-
Method Details
-
parameters
-