fr.paris.lutece.plugins.wiki.search
Class WikiIndexer

java.lang.Object
  extended by fr.paris.lutece.plugins.wiki.search.WikiIndexer
All Implemented Interfaces:
fr.paris.lutece.portal.service.search.SearchIndexer

public class WikiIndexer
extends Object
implements fr.paris.lutece.portal.service.search.SearchIndexer

Wiki Indexer


Field Summary
static String PROPERTY_INDEX_TYPE_PAGE
           
static String PROPERTY_INDEXER_NAME
           
static String SHORT_NAME_TOPIC
           
static String SHORT_NAME_TOPIC_CONTENT
           
 
Constructor Summary
WikiIndexer()
           
 
Method Summary
 String getDescription()
           
static org.apache.lucene.document.Document getDocument(Topic topic, String strUrl, fr.paris.lutece.portal.service.plugin.Plugin plugin)
           
 List<org.apache.lucene.document.Document> getDocuments(String strDocument)
           
 List<String> getListType()
          
 String getName()
           
 String getSpecificSearchAppUrl()
          
 String getVersion()
           
 void indexDocuments()
           
 void indexTopic(Topic topic)
           
 boolean isEnable()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_INDEX_TYPE_PAGE

public static final String PROPERTY_INDEX_TYPE_PAGE
See Also:
Constant Field Values

PROPERTY_INDEXER_NAME

public static final String PROPERTY_INDEXER_NAME
See Also:
Constant Field Values

SHORT_NAME_TOPIC

public static final String SHORT_NAME_TOPIC
See Also:
Constant Field Values

SHORT_NAME_TOPIC_CONTENT

public static final String SHORT_NAME_TOPIC_CONTENT
See Also:
Constant Field Values
Constructor Detail

WikiIndexer

public WikiIndexer()
Method Detail

getDescription

public String getDescription()
Specified by:
getDescription in interface fr.paris.lutece.portal.service.search.SearchIndexer

getDocuments

public List<org.apache.lucene.document.Document> getDocuments(String strDocument)
                                                       throws IOException,
                                                              InterruptedException,
                                                              fr.paris.lutece.portal.service.message.SiteMessageException
Specified by:
getDocuments in interface fr.paris.lutece.portal.service.search.SearchIndexer
Throws:
IOException
InterruptedException
fr.paris.lutece.portal.service.message.SiteMessageException

getName

public String getName()
Specified by:
getName in interface fr.paris.lutece.portal.service.search.SearchIndexer

getVersion

public String getVersion()
Specified by:
getVersion in interface fr.paris.lutece.portal.service.search.SearchIndexer

indexDocuments

public void indexDocuments()
                    throws IOException,
                           InterruptedException,
                           fr.paris.lutece.portal.service.message.SiteMessageException
Specified by:
indexDocuments in interface fr.paris.lutece.portal.service.search.SearchIndexer
Throws:
IOException
InterruptedException
fr.paris.lutece.portal.service.message.SiteMessageException

isEnable

public boolean isEnable()
Specified by:
isEnable in interface fr.paris.lutece.portal.service.search.SearchIndexer

indexTopic

public void indexTopic(Topic topic)
                throws IOException,
                       InterruptedException
Parameters:
topic -
Throws:
IOException
InterruptedException

getDocument

public static org.apache.lucene.document.Document getDocument(Topic topic,
                                                              String strUrl,
                                                              fr.paris.lutece.portal.service.plugin.Plugin plugin)
                                                       throws IOException,
                                                              InterruptedException
Parameters:
topic -
strUrl -
plugin -
Returns:
Throws:
IOException
InterruptedException

getListType

public List<String> getListType()

Specified by:
getListType in interface fr.paris.lutece.portal.service.search.SearchIndexer

getSpecificSearchAppUrl

public String getSpecificSearchAppUrl()

Specified by:
getSpecificSearchAppUrl in interface fr.paris.lutece.portal.service.search.SearchIndexer


Copyright © 2013 Mairie de Paris. All Rights Reserved.