Si jamais vous rencontrez ce message d'erreur au moment de lancer le IdcAnalyzer pour valider la structure de vos indexes...
"IdcAnalyzer - Too many errors encountered 5001. Maximum errors allowed is set to 5000."
Exemple :
./IdcAnalyze -index -range 390000:400000 -report
...
Revision entry for dID = 394750 is not found in the search index.
Revision entry for dID = 395030 is not found in the search index.
Revision entry for dID = 394749 is not found in the search index.
Revision entry for dID = 394748 is not found in the search index.
Revision entry for dID = 394747 is not found in the search index.
Revision entry for dID = 395425 is not found in the search index.
Finished checking 5,001 entries.
Errors Found: 5001
Errors Fixed: 0
Too many errors encountered 5001. Maximum errors allowed is set to 5000.
Please address these errors and restart the test. There are 4969 out of 9970 items remaining to be checked.
Pour modifier cette limitation il faut modifier le fichier "intradoc.cfg" avec la valeur souhaitée. Vous n'avez pas besoin de rien repartir pour que la modification soit prise en considération.
Exemple :
MaxErrors=6000
Pour tester, on relance la commande :
./IdcAnalyze -index -range 390000:400000 -report
...
Revision entry for dID = 394750 is not found in the search index.
Revision entry for dID = 395030 is not found in the search index.
Revision entry for dID = 394749 is not found in the search index.
Revision entry for dID = 394748 is not found in the search index.
Revision entry for dID = 394747 is not found in the search index.
Revision entry for dID = 395425 is not found in the search index.
Finished checking 6,001 entries.
Errors Found: 6001
Errors Fixed: 0
Too many errors encountered 6001. Maximum errors allowed is set to 6000.
Please address these errors and restart the test. There are 3969 out
of 9970 items remaining to be checked.
Revision entry for dID = 395030 is not found in the search index.
Revision entry for dID = 394749 is not found in the search index.
Revision entry for dID = 394748 is not found in the search index.
Revision entry for dID = 394747 is not found in the search index.
Revision entry for dID = 395425 is not found in the search index.
Finished checking 6,001 entries.
Errors Found: 6001
Errors Fixed: 0
Too many errors encountered 6001. Maximum errors allowed is set to 6000.
Please address these errors and restart the test. There are 3969 out
of 9970 items remaining to be checked.
Comme dans mon cas ma bases de données a plus de 15 millions de documents et je veux m'éviter de problèmes de "out of memory" je vais le configurer à 100000 juste pour tester.
Comme à chaque exécution un fichier qui contiendra la résultant sera créé dans le répertoire "logs", donc il faut le déplacer avant de chaque exécution pour ne pas le perdre.
Exemple :
mv ./logs/IdcCommand.txt ./FIX/IdcCommand.txt_400000_600000
[ucmxxx@server FIX]$ ll
-rw-rw-r-- 1 ucmxxx prod 1196400 Feb 25 15:58 IdcCommand.txt_390031_400000
-rw-rw-r-- 1 ucmxxx prod 12000120 Feb 25 16:10 IdcCommand.txt_400000_600000