com.liferay.portlet.wiki.engines.mediawiki
Class LiferaySearchEngine
java.lang.Object
com.liferay.portlet.wiki.engines.mediawiki.LiferaySearchEngine
- All Implemented Interfaces:
- org.jamwiki.SearchEngine
public class LiferaySearchEngine
- extends Object
- implements org.jamwiki.SearchEngine
Fields inherited from interface org.jamwiki.SearchEngine |
SEARCH_ENGINE_LUCENE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LiferaySearchEngine
public LiferaySearchEngine()
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)