Liferay 6.1.2-ce-ga3

com.liferay.portlet.wiki.engines.mediawiki
Class LiferaySearchEngine

java.lang.Object
  extended by com.liferay.portlet.wiki.engines.mediawiki.LiferaySearchEngine
All Implemented Interfaces:
org.jamwiki.SearchEngine

public class LiferaySearchEngine
extends Object
implements org.jamwiki.SearchEngine


Field Summary
 
Fields inherited from interface org.jamwiki.SearchEngine
SEARCH_ENGINE_LUCENE
 
Constructor Summary
LiferaySearchEngine()
           
 
Method Summary
 void addToIndex(org.jamwiki.model.Topic arg0)
           
 void addToIndex(org.jamwiki.model.Topic topic, List<String> links)
           
 void commit(String arg0)
           
 void deleteFromIndex(org.jamwiki.model.Topic topic)
           
 List<org.jamwiki.model.SearchResultEntry> findLinkedTo(String virtualWiki, String topicName)
           
 List<org.jamwiki.model.SearchResultEntry> findResults(String virtualWiki, String text)
           
 void refreshIndex()
           
 void setAutoCommit(boolean autoCommit)
           
 void shutdown()
           
 void updateInIndex(org.jamwiki.model.Topic topic)
           
 void updateInIndex(org.jamwiki.model.Topic topic, List<String> links)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LiferaySearchEngine

public LiferaySearchEngine()
Method Detail

addToIndex

public void addToIndex(org.jamwiki.model.Topic arg0)
Specified by:
addToIndex in interface org.jamwiki.SearchEngine

addToIndex

public void addToIndex(org.jamwiki.model.Topic topic,
                       List<String> links)

commit

public void commit(String arg0)
Specified by:
commit in interface org.jamwiki.SearchEngine

deleteFromIndex

public void deleteFromIndex(org.jamwiki.model.Topic topic)
Specified by:
deleteFromIndex in interface org.jamwiki.SearchEngine

findLinkedTo

public List<org.jamwiki.model.SearchResultEntry> findLinkedTo(String virtualWiki,
                                                              String topicName)

findResults

public List<org.jamwiki.model.SearchResultEntry> findResults(String virtualWiki,
                                                             String text)
Specified by:
findResults in interface org.jamwiki.SearchEngine

refreshIndex

public void refreshIndex()
Specified by:
refreshIndex in interface org.jamwiki.SearchEngine

setAutoCommit

public void setAutoCommit(boolean autoCommit)
Specified by:
setAutoCommit in interface org.jamwiki.SearchEngine

shutdown

public void shutdown()
Specified by:
shutdown in interface org.jamwiki.SearchEngine

updateInIndex

public void updateInIndex(org.jamwiki.model.Topic topic)
Specified by:
updateInIndex in interface org.jamwiki.SearchEngine

updateInIndex

public void updateInIndex(org.jamwiki.model.Topic topic,
                          List<String> links)

Liferay 6.1.2-ce-ga3