|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IODSSearchIndexer
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Retourne la description de l'indexer |
java.util.List<org.apache.lucene.document.Document> |
getDocuments()
Récupère la liste des documents |
void |
getDocuments(org.apache.lucene.index.IndexWriter indexWriter)
Retourne tous les documents à indexer, autrement dit la liste des documents pour l'initialisation de l'index Par défaut cette méthode renvoie les documents de la prochaine séance du conseil |
java.util.List<org.apache.lucene.document.Document> |
getDocuments(java.lang.String arg0)
|
void |
getDocumentsAArchiver(int nIdAncienneSeance,
org.apache.lucene.index.IndexWriter indexWriter)
Retourne tous les documents à indexer pour une séance |
void |
getDocumentsToIndex(org.apache.lucene.index.IndexWriter indexWriter)
Indexe la liste des documents ajoutés ou modifiés à ajouter dans l'index |
java.util.List<org.apache.lucene.document.Document> |
getDocumentsToRemove()
Retourne la liste des documents supprimés ou modifiés à supprimer de l'index |
java.lang.String |
getName()
Retourne le nom de l'indexer |
java.lang.String |
getVersion()
Retourne la version de l'indexer |
void |
indexDocuments()
|
boolean |
isEnable()
Indique si l'indexer est actif ou non |
| Method Detail |
|---|
void getDocuments(org.apache.lucene.index.IndexWriter indexWriter)
throws java.io.IOException,
java.lang.InterruptedException
indexWriter - l'index
java.io.IOException - exception héritée de fr.paris.lutece.portal.service.search.SearchIndexer
java.lang.InterruptedException - exception héritée de fr.paris.lutece.portal.service.search.SearchIndexer
void getDocumentsAArchiver(int nIdAncienneSeance,
org.apache.lucene.index.IndexWriter indexWriter)
nIdAncienneSeance - l'id de la dernière séance passéeindexWriter - l'indexjava.util.List<org.apache.lucene.document.Document> getDocumentsToRemove()
void getDocumentsToIndex(org.apache.lucene.index.IndexWriter indexWriter)
indexWriter - l'indexjava.lang.String getDescription()
java.lang.String getName()
java.lang.String getVersion()
boolean isEnable()
java.util.List<org.apache.lucene.document.Document> getDocuments()
throws java.io.IOException,
java.lang.InterruptedException,
fr.paris.lutece.portal.service.message.SiteMessageException
java.io.IOException - IOException
java.lang.InterruptedException - InterruptedException
fr.paris.lutece.portal.service.message.SiteMessageException - SiteMessageException
java.util.List<org.apache.lucene.document.Document> getDocuments(java.lang.String arg0)
throws java.io.IOException,
java.lang.InterruptedException,
fr.paris.lutece.portal.service.message.SiteMessageException
java.io.IOException
java.lang.InterruptedException
fr.paris.lutece.portal.service.message.SiteMessageException
void indexDocuments()
throws java.io.IOException,
java.lang.InterruptedException,
fr.paris.lutece.portal.service.message.SiteMessageException
java.io.IOException
java.lang.InterruptedException
fr.paris.lutece.portal.service.message.SiteMessageException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||