fr.paris.lutece.plugins.directory.service.directorysearch
Interface IDirectorySearchIndexer

All Known Implementing Classes:
DirectoryIndexer

public interface IDirectorySearchIndexer

IDirectorySearchIndexer


Method Summary
 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 sbLog)
          add to the index writer the document associate to the key specified in parameter
 

Method Detail

processIndexing

void processIndexing(org.apache.lucene.index.IndexWriter indexWriter,
                     boolean bCreate,
                     StringBuffer sbLog)
                     throws IOException,
                            InterruptedException,
                            fr.paris.lutece.portal.service.message.SiteMessageException
add to the index writer the document associate to the key specified in parameter

Parameters:
indexWriter - lucene index writer
bCreate - true for indexing all directory false for use incremental indexing
sbLog - the buffer logger
Throws:
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 displayed

getName

String getName()
Returns the indexer service name

Returns:
the indexer service name

getVersion

String getVersion()
Returns the indexer service version

Returns:
the indexer service version

getDescription

String getDescription()
Returns the indexer service description

Returns:
the indexer service description

isEnable

boolean isEnable()
Tells whether the service is enable or not

Returns:
true if enable, otherwise false


Copyright © 2013 Mairie de Paris. All Rights Reserved.