mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Fix for ALF-10561 SOLR stops indexing if it is given a property that is neither indexed or stored - it throws an exception
Fix ALF-10358 SOLR No easy way to get the current last TX indexed to monitor how the SOLR index is building git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30857 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -60,6 +60,12 @@ public class TransactionsGet extends DeclarativeWebScript
|
||||
|
||||
Map<String, Object> model = new HashMap<String, Object>(1, 1.0f);
|
||||
model.put("transactions", transactions);
|
||||
|
||||
Long maxTxnCommitTime = solrTrackingComponent.getMaxTxnCommitTime();
|
||||
if(maxTxnCommitTime != null)
|
||||
{
|
||||
model.put("maxTxnCommitTime", maxTxnCommitTime);
|
||||
}
|
||||
|
||||
if (logger.isDebugEnabled())
|
||||
{
|
||||
|
Reference in New Issue
Block a user