Interface IBlogSearchIndexer
- All Known Implementing Classes:
DefaultBlogIndexer
public interface IBlogSearchIndexer
IBlogsSearchIndexer
-
Method Summary
Modifier and TypeMethodDescriptionReturns the indexer service descriptiongetName()Returns the indexer service nameReturns the indexer service versionbooleanisEnable()Tells whether the service is enable or notvoidprocessIndexing(org.apache.lucene.index.IndexWriter indexWriter, boolean bCreate, StringBuilder sbLog) add to the index writer the document associate to the key specified in parametervoidupdateDocument(org.apache.lucene.index.IndexWriter indexWriter, Blog blog)
-
Method Details
-
updateDocument
- Throws:
IOException
-
processIndexing
void processIndexing(org.apache.lucene.index.IndexWriter indexWriter, boolean bCreate, StringBuilder 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 writerbCreate- true for indexing all directory false for use incremental indexingsbLog- the buffer logger- Throws:
IOException- If an IO error occuredInterruptedException- If a thread error occuredfr.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
-