我在 Alfresco 中的 SOLR 索引有问题。无法索引新创建的内容。日志文件中没有异常。
我为org.alfresco.solr.tracker.CoreTracker启用了调试,发现 from Transaction id 没有增加。它看起来像无限循环。
INFO: Scanning transactions ...
Aug 22, 2012 9:36:09 AM org.alfresco.solr.tracker.MultiThreadedCoreTracker trackTransactions
INFO: .... from Transaction [id=335, commitTimeMs=1345501423910, updates=0, deletes=0]
Aug 22, 2012 9:36:09 AM org.alfresco.solr.tracker.MultiThreadedCoreTracker trackTransactions
INFO: .... from Transaction [id=335, commitTimeMs=1345501423910, updates=0, deletes=0]
Aug 22, 2012 9:36:09 AM org.alfresco.solr.tracker.MultiThreadedCoreTracker trackTransactions
INFO: .... to Transaction [id=342, commitTimeMs=1345504959777, updates=0, deletes=0]
Aug 22, 2012 9:36:09 AM org.alfresco.solr.tracker.MultiThreadedCoreTracker trackTransactions
INFO: .... to Transaction [id=342, commitTimeMs=1345504959777, updates=0, deletes=0]
Aug 22, 2012 9:36:09 AM org.alfresco.solr.tracker.MultiThreadedCoreTracker trackTransactions
INFO: Scanning transactions ...
Aug 22, 2012 9:36:09 AM org.alfresco.solr.tracker.MultiThreadedCoreTracker trackTransactions
INFO: Scanning transactions ...
Aug 22, 2012 9:36:09 AM org.alfresco.solr.tracker.MultiThreadedCoreTracker trackTransactions
INFO: .... from Transaction [id=335, commitTimeMs=1345501423910, updates=0, deletes=0]
Aug 22, 2012 9:36:09 AM org.alfresco.solr.tracker.MultiThreadedCoreTracker trackTransactions
INFO: .... from Transaction [id=335, commitTimeMs=1345501423910, updates=0, deletes=0]
Aug 22, 2012 9:36:09 AM org.alfresco.solr.tracker.MultiThreadedCoreTracker trackTransactions
INFO: .... to Transaction [id=342, commitTimeMs=1345504959777, updates=0, deletes=0]
Aug 22, 2012 9:36:09 AM org.alfresco.solr.tracker.MultiThreadedCoreTracker trackTransactions
INFO: .... to Transaction [id=342, commitTimeMs=1345504959777, updates=0, deletes=0]
Aug 22, 2012 9:36:09 AM org.alfresco.solr.tracker.MultiThreadedCoreTracker trackTransactions
我试图修复这个调用 admin/cores?action=FIX (修复 SOLR 中的问题),但它没有帮助,我在日志中看不到任何异常。
还有其他方法可以开始索引吗?
编辑:我解决了这个问题,升级到 Alfresco 4.0.29 并重建索引。我想我在 Alfresco Jira 上看到了类似的问题,但我找不到。感谢您的回答