Hi,
I have been using the mass indexer to create my initial index (I'm using a monitor to track its progress). After a recent update from SVN it started a different output than I have seen before.
Quote:
[2013-03-25 12:28:15.361] INFO org.hibernate.stat.ConcurrentStatisticsImpl HQL: null, time: 358ms, rows: 40
[13-03-25 12:28:15.361] {Hibernate Search: entityloader-1} HQL: null, time: 358ms, rows: 40
[2013-03-25 12:28:15.383] INFO org.hibernate.stat.ConcurrentStatisticsImpl HQL: null, time: 17ms, rows: 20
[13-03-25 12:28:15.383] {Hibernate Search: entityloader-2} HQL: null, time: 17ms, rows: 20
This seems to happen hundreds (or thousands) of times in rapid succession. I no longer see the output telling me that "X entities have been indexed, X% Complete". I'm assuming someone else modified something and it's causing the issues but I have been unsuccessful in finding the root cause of the above INFO message.
Since I'm not seeing status updates does this mean the indexer is not working? Any ideas what caused this change in output?
We are running Hibernate Search 3.4.0.Final and Hibernate Core 3.6.3.Final (We are working to upgrade to 4.x of each but this is the current setup). My mass indexer is called as:
Code:
monitor = new IndexMonitor();
builderService.setActive(false);
FullTextSession ftSession = dao.getTextSession();
ftSession.createIndexer().batchSizeToLoadObjects(10).cacheMode(CacheMode.IGNORE)
.progressMonitor(monitor).threadsToLoadObjects(5).batchSizeToLoadObjects(20)
.threadsForSubsequentFetching(20).threadsForIndexWriter(3).startAndWait();
builderService.setActive(true);
Thanks for any help in figuring this out.