001
014
015 package com.liferay.portlet.wiki.engines.mediawiki;
016
017 import java.util.List;
018
019 import org.jamwiki.SearchEngine;
020 import org.jamwiki.model.SearchResultEntry;
021 import org.jamwiki.model.Topic;
022
023
026 public class LiferaySearchEngine implements SearchEngine {
027
028 @Override
029 public void addToIndex(Topic arg0) {
030 }
031
032 public void addToIndex(Topic topic, List<String> links) {
033 }
034
035 @Override
036 public void commit(String arg0) {
037 }
038
039 @Override
040 public void deleteFromIndex(Topic topic) {
041 }
042
043 public List<SearchResultEntry> findLinkedTo(
044 String virtualWiki, String topicName) {
045
046 return null;
047 }
048
049 @Override
050 public List<SearchResultEntry> findResults(
051 String virtualWiki, String text) {
052
053 return null;
054 }
055
056 @Override
057 public void refreshIndex() {
058 }
059
060 @Override
061 public void setAutoCommit(boolean autoCommit) {
062 }
063
064 @Override
065 public void shutdown() {
066 }
067
068 @Override
069 public void updateInIndex(Topic topic) {
070 }
071
072 public void updateInIndex(Topic topic, List<String> links) {
073 }
074
075 }