Fixed
Details
Assignee
Mincong HuangMincong HuangReporter
Mincong HuangMincong HuangComponents
Fix versions
Priority
Minor
Details
Details
Assignee
Mincong Huang
Mincong HuangReporter
Mincong Huang
Mincong HuangComponents
Fix versions
Priority
Created June 17, 2017 at 7:56 AM
Updated December 3, 2024 at 11:53 AM
Resolved July 25, 2017 at 3:48 PM
In the current mass indexer, there're 2 parameters for different sizes:
objectLoadingBatchSize
: Sets the batch size used to load the root entities.idFetchSize
: Specifies the fetch size to be used when loading primary keys if objects to be indexed.In JSR-352, we use a single value (
fetchSize
) for bothidFetchSize
andobjectLoadingBatchSize
. See:org.hibernate.search.jsr352.massindexing.impl.steps.lucene.PartitionMapper.buildScrollableResults(StatelessSession, Session, Class<?>, Set<Criterion>)
org.hibernate.search.jsr352.massindexing.impl.steps.lucene.EntityReader.buildScrollUsingCriteria(StatelessSession, PartitionBound, Object, JobContextData)
We may want to split them in the future.
See also this comment: https://github.com/yrodiere/hibernate-search/pull/21#issuecomment-309377142