Details
-
Bug
-
Resolution: Done
-
Major
-
3.1.3.Final
-
None
-
None
Description
The following code in JcrRepository:
case NEVER: { Set<NodeKey> existingIndexes = queryManager().getIndexes().indexedNodes(); if (existingIndexes.isEmpty()) { logger.info(JcrI18n.noReindex, getName()); } else { logger.debug("Index rebuild option is 'never' for repository {0} so nothing will be re-indexed. The existing indexed node are: {1}", name(), existingIndexes); } break; }
Suggests to me that even if reindexing is turned off, start-up will still attempt to read every single indexed node key from the underlying indexing storage only to generate a log statement printed at info or (in the non-empty case) trace level. To print all the indexed nodes at debug level also seem to be quite unnecessary.