mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Fix AVM index for last index info
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6235 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1374,7 +1374,11 @@ public class AVMLuceneIndexerImpl extends AbstractLuceneIndexerImpl<String> impl
|
||||
if (docs.next())
|
||||
{
|
||||
String[] split = term.text().split(":");
|
||||
end = Integer.parseInt(split[3]);
|
||||
int test = Integer.parseInt(split[3]);
|
||||
if(test > end)
|
||||
{
|
||||
end = test;
|
||||
}
|
||||
}
|
||||
}
|
||||
finally
|
||||
@@ -1480,7 +1484,11 @@ public class AVMLuceneIndexerImpl extends AbstractLuceneIndexerImpl<String> impl
|
||||
if (docs.next())
|
||||
{
|
||||
String[] split = term.text().split(":");
|
||||
end = Integer.parseInt(split[4]);
|
||||
int test = Integer.parseInt(split[4]);
|
||||
if(test > end)
|
||||
{
|
||||
end = test;
|
||||
}
|
||||
}
|
||||
}
|
||||
finally
|
||||
|
Reference in New Issue
Block a user