|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.directory.service.directorysearch.DirectoryIndexer
public class DirectoryIndexer
Directory Indexer
Constructor Summary | |
---|---|
DirectoryIndexer()
|
Method Summary | |
---|---|
static void |
appendListRecordToDelete(List<Integer> lListIdRecord)
Append list record id to delete Hack (ugly) to bypass problem of primary key violation on table "directory_indexer_action" when inserting many records |
String |
getDescription()
Returns the indexer service description |
String |
getName()
Returns the indexer service name |
String |
getVersion()
Returns the indexer service version |
boolean |
isEnable()
Tells whether the service is enable or not |
void |
processIndexing(org.apache.lucene.index.IndexWriter indexWriter,
boolean bCreate,
StringBuffer sbLogs)
add to the index writer the document associate to the key specified in parameter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DirectoryIndexer()
Method Detail |
---|
public String getDescription()
IDirectorySearchIndexer
getDescription
in interface IDirectorySearchIndexer
public void processIndexing(org.apache.lucene.index.IndexWriter indexWriter, boolean bCreate, StringBuffer sbLogs) throws IOException, InterruptedException, fr.paris.lutece.portal.service.message.SiteMessageException
IDirectorySearchIndexer
processIndexing
in interface IDirectorySearchIndexer
indexWriter
- lucene index writerbCreate
- true for indexing all directory
false for use incremental indexingsbLogs
- the buffer logger
IOException
- If an IO error occured
InterruptedException
- If a thread error occured
fr.paris.lutece.portal.service.message.SiteMessageException
- occurs when a site message need to be displayedpublic String getName()
IDirectorySearchIndexer
getName
in interface IDirectorySearchIndexer
public String getVersion()
IDirectorySearchIndexer
getVersion
in interface IDirectorySearchIndexer
public boolean isEnable()
IDirectorySearchIndexer
isEnable
in interface IDirectorySearchIndexer
public static void appendListRecordToDelete(List<Integer> lListIdRecord)
lListIdRecord
- List record to delete
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |