[Castore-commits] IndexationRechercheLucene.java 1.12 1.13
IndexationRechercheLuceneDocEtNotice.java 1.2 1.3
IndexationRechercheLuceneNotice.java 1.2 1.3
Stéphane Bouchet
sbouchet at adullact1.hosting.cri74.org
Mar 16 Mai 17:23:01 CEST 2006
Update of /cvsroot/castore/castore-core/src/java/fr/emn/castor/recherche/metier/lucene
In directory adullact1:/tmp/cvs-serv31330/src/java/fr/emn/castor/recherche/metier/lucene
Modified Files:
IndexationRechercheLucene.java
IndexationRechercheLuceneDocEtNotice.java
IndexationRechercheLuceneNotice.java
Log Message:
ajout log.
Index: IndexationRechercheLuceneDocEtNotice.java
===================================================================
RCS file: /cvsroot/castore/castore-core/src/java/fr/emn/castor/recherche/metier/lucene/IndexationRechercheLuceneDocEtNotice.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** IndexationRechercheLuceneDocEtNotice.java 20 Apr 2006 13:27:53 -0000 1.2
--- IndexationRechercheLuceneDocEtNotice.java 16 May 2006 15:22:59 -0000 1.3
***************
*** 43,46 ****
--- 43,49 ----
import java.io.IOException;
+ import org.apache.commons.logging.Log;
+ import org.apache.commons.logging.LogFactory;
+
import fr.emn.castor.documents.Facade;
import fr.emn.castor.recherche.metier.IndexationException;
***************
*** 56,60 ****
public class IndexationRechercheLuceneDocEtNotice extends
IndexationRechercheLucene {
!
/**
* @see fr.emn.castor.recherche.metier.IIndexeur#indexDoc(
--- 59,66 ----
public class IndexationRechercheLuceneDocEtNotice extends
IndexationRechercheLucene {
! /**
! * utilisation du common logging.
! */
! private static Log log = LogFactory.getLog(IndexationRechercheLuceneDocEtNotice.class);
/**
* @see fr.emn.castor.recherche.metier.IIndexeur#indexDoc(
Index: IndexationRechercheLucene.java
===================================================================
RCS file: /cvsroot/castore/castore-core/src/java/fr/emn/castor/recherche/metier/lucene/IndexationRechercheLucene.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** IndexationRechercheLucene.java 24 Apr 2006 17:48:32 -0000 1.12
--- IndexationRechercheLucene.java 16 May 2006 15:22:59 -0000 1.13
***************
*** 47,50 ****
--- 47,52 ----
import java.util.Map;
+ import org.apache.commons.logging.Log;
+ import org.apache.commons.logging.LogFactory;
import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.analysis.SimpleAnalyzer;
***************
*** 75,79 ****
*/
public abstract class IndexationRechercheLucene extends AbstractEngine {
!
/**
* Le Writer de lucene.
--- 77,84 ----
*/
public abstract class IndexationRechercheLucene extends AbstractEngine {
! /**
! * utilisation du common logging.
! */
! private static Log log = LogFactory.getLog(IndexationRechercheLucene.class);
/**
* Le Writer de lucene.
***************
*** 91,95 ****
this.indexSubDir = false;
this.nbDocIndexes = 0;
! // on indexe le contenu du document ...
this.indexDoc(idDocument);
} catch (IOException ioe) {
--- 96,100 ----
this.indexSubDir = false;
this.nbDocIndexes = 0;
! // on indexe le contenu du document ...
this.indexDoc(idDocument);
} catch (IOException ioe) {
***************
*** 201,205 ****
XMLLuceneIndexer xmlIndexer = new XMLLuceneIndexer(this.docType);
doc = xmlIndexer.getDoc(fichier);
! // les fields specifiques au document
try {
String id = new File(fichier.getParent()).getName();
--- 206,210 ----
XMLLuceneIndexer xmlIndexer = new XMLLuceneIndexer(this.docType);
doc = xmlIndexer.getDoc(fichier);
! // les fields specifiques au document
try {
String id = new File(fichier.getParent()).getName();
Index: IndexationRechercheLuceneNotice.java
===================================================================
RCS file: /cvsroot/castore/castore-core/src/java/fr/emn/castor/recherche/metier/lucene/IndexationRechercheLuceneNotice.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** IndexationRechercheLuceneNotice.java 20 Apr 2006 13:27:53 -0000 1.2
--- IndexationRechercheLuceneNotice.java 16 May 2006 15:22:59 -0000 1.3
***************
*** 42,45 ****
--- 42,48 ----
import java.io.IOException;
+ import org.apache.commons.logging.Log;
+ import org.apache.commons.logging.LogFactory;
+
import fr.emn.castor.documents.Facade;
import fr.emn.castor.recherche.metier.IndexationException;
***************
*** 54,57 ****
--- 57,65 ----
public class IndexationRechercheLuceneNotice extends
IndexationRechercheLucene {
+ /**
+ * utilisation du common logging.
+ */
+ private static Log log = LogFactory
+ .getLog(IndexationRechercheLuceneNotice.class);
public void indexDoc(final String idDocument) throws IndexationException {
Plus d'informations sur la liste de diffusion Castore-commits