public class DirectoryIndexer extends Object implements IDirectorySearchIndexer
Constructor and Description |
---|
DirectoryIndexer() |
Modifier and Type | Method and Description |
---|---|
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
|
public String getDescription()
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
processIndexing
in interface IDirectorySearchIndexer
indexWriter
- lucene index writerbCreate
- true for indexing all directory false for use incremental indexingsbLogs
- the buffer loggerIOException
- If an IO error occuredInterruptedException
- If a thread error occuredfr.paris.lutece.portal.service.message.SiteMessageException
- occurs when a site message need to be displayedpublic String getName()
getName
in interface IDirectorySearchIndexer
public String getVersion()
getVersion
in interface IDirectorySearchIndexer
public boolean isEnable()
isEnable
in interface IDirectorySearchIndexer
Copyright © 2017 City of Paris. All rights reserved.