Project

General

Profile

Actions

Bug #5094

closed

Impossible de réindexer tout le contenu

Added by David Lesimple about 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Urgent
Category:
Moteur de recherche
Start date:
11/12/2013
Due date:
% Done:

100%

Estimated time:
Navigateur:
Tous
Votre version de Silverpeas:
5.13
Système d'exploitation:
Votre base de données:
Toutes
Livraison en TEST:
Livraison en PROD:

Description

En 5.13.1

Voir sur demo.silverpeas.com
2013-11-12 16:04:45,649 INFO [org.apache.coyote.ajp.AjpProtocol] (Thread-2) Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009
2013-11-12 16:15:37,801 ERROR [STDERR] (Thread-50) Exception in thread "Thread-50" java.lang.Error: Error: could not match input
2013-11-12 16:15:37,804 ERROR [STDERR] (Thread-50) at org.silverpeas.search.indexEngine.analysis.SilverTokenizerImpl.zzScanError(SilverTokenizerImpl.java:567)
2013-11-12 16:15:37,804 ERROR [STDERR] (Thread-50) at org.silverpeas.search.indexEngine.analysis.SilverTokenizerImpl.getNextToken(SilverTokenizerImpl.java:718)
2013-11-12 16:15:37,804 ERROR [STDERR] (Thread-50) at org.silverpeas.search.indexEngine.analysis.SilverTokenizer.incrementToken(SilverTokenizer.java:122)
2013-11-12 16:15:37,804 ERROR [STDERR] (Thread-50) at org.apache.lucene.analysis.standard.StandardFilter.incrementToken(StandardFilter.java:55)
2013-11-12 16:15:37,804 ERROR [STDERR] (Thread-50) at org.apache.lucene.analysis.LowerCaseFilter.incrementToken(LowerCaseFilter.java:60)
2013-11-12 16:15:37,804 ERROR [STDERR] (Thread-50) at org.apache.lucene.analysis.FilteringTokenFilter.incrementToken(FilteringTokenFilter.java:49)
2013-11-12 16:15:37,804 ERROR [STDERR] (Thread-50) at org.apache.lucene.analysis.fr.ElisionFilter.incrementToken(ElisionFilter.java:119)
2013-11-12 16:15:37,804 ERROR [STDERR] (Thread-50) at org.apache.lucene.analysis.ASCIIFoldingFilter.incrementToken(ASCIIFoldingFilter.java:72)
2013-11-12 16:15:37,804 ERROR [STDERR] (Thread-50) at org.apache.lucene.index.DocInverterPerField.processFields(DocInverterPerField.java:202)
2013-11-12 16:15:37,804 ERROR [STDERR] (Thread-50) at org.apache.lucene.index.DocFieldProcessorPerThread.processDocument(DocFieldProcessorPerThread.java:278)
2013-11-12 16:15:37,804 ERROR [STDERR] (Thread-50) at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:766)
2013-11-12 16:15:37,804 ERROR [STDERR] (Thread-50) at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:2060)
2013-11-12 16:15:37,804 ERROR [STDERR] (Thread-50) at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:2034)
2013-11-12 16:15:37,804 ERROR [STDERR] (Thread-50) at org.silverpeas.search.indexEngine.model.IndexManager.indexDocs(IndexManager.java:324)
2013-11-12 16:15:37,804 ERROR [STDERR] (Thread-50) at org.silverpeas.search.indexEngine.model.IndexManager.addIndexEntry(IndexManager.java:130)
2013-11-12 16:15:37,804 ERROR [STDERR] (Thread-50) at org.silverpeas.search.indexEngine.model.AddIndexEntryRequest.process(IndexerThread.java:212)
2013-11-12 16:15:37,804 ERROR [STDERR] (Thread-50) at org.silverpeas.search.indexEngine.model.IndexerThread.run(IndexerThread.java:108)
2013-11-12 16:19:13,330 INFO [com.sun.jersey.api.core.PackagesResourceConfig] (http-0.0.0.0-8000-2) Scanning for root resource and provider classes in the packages

pas d'erreur importante dans traces.txt


Related issues

Related to Silverpeas Core - Support #5117: Indexation totale 5.13.1ClosedDavid Lesimple11/20/2013

Actions
Actions #1

Updated by David Lesimple about 8 years ago

Précision: le répertoire index est quasiment vide.

Actions #2

Updated by David Lesimple about 8 years ago

  • Priority changed from High to Urgent

En 5.13, avec le meme contenu, la réindexation fonctionne bien.
Pb uniquement en 5.13.1 donc.

Actions #3

Updated by David Lesimple about 8 years ago

  • Status changed from New to Qualified

Ce point est bloquant, il oblige à mettre à jour en 5.13, ré-indexer totalement les données, puis mettre à jour en 5.13.1

Actions #4

Updated by Nicolas Eysseric almost 8 years ago

  • Status changed from Qualified to In progress...
  • Assignee set to Nicolas Eysseric

Nous reproduisons le problème sur nos environnements de développement...

Actions #5

Updated by Nicolas Eysseric almost 8 years ago

  • Target version set to Version 5.13.2

Après de multiples recherches, le problème est cerné.
Il se pose lors de l'analyse du contenu WYSYWIG. Certains contenus génèrent une erreur qui bloque le thread d'indexation...
Le fait que le problème ne se produise qu'en 5.13.1 reste, pour l'heure, inexpliqué.

Actions #6

Updated by Nicolas Eysseric almost 8 years ago

  • Status changed from In progress... to Resolved
  • % Done changed from 0 to 100

Modification de la phase d'analyse du contenu à indexer afin d'intercepter l'erreur qui bloque le thread d'indexation
Ajout de quelques traces et modification du niveau de certaines existantes...

cf PR : https://github.com/Silverpeas/Silverpeas-Core/pull/444

Ne pas reporter sur la 5.12.x puisque cette erreur n'est constatée qu'en 5.13.1 (pour une raison qui nous échappe).

Actions #7

Updated by Yohann Chastagnier almost 8 years ago

  • Status changed from Resolved to Closed

Validé et intégré.

Actions

Also available in: Atom PDF