// traverse and index workspace
executeAndLog(new Start(Action.INTERNAL_TRANSACTION));
// check if we have deal with RDBMS reindexing mechanism
Reindexable rdbmsReindexableComponent =
(Reindexable)handler.getContext().getContainer().getComponent(Reindexable.class);
Thread thread = createThreadFindNodesCount(rdbmsReindexableComponent);
thread.start();
long count;
if (handler.isRDBMSReindexing() && rdbmsReindexableComponent != null
&& rdbmsReindexableComponent.isReindexingSupported())
{
count =
createIndex(
rdbmsReindexableComponent.getNodeDataIndexingIterator(handler.getReindexingPageSize()),
indexingTree.getIndexingRoot());
}
else
{
count = createIndex(indexingTree.getIndexingRoot(), stateMgr);