001    /**
002     * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
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    /**
024     * @author Jonathan Potter
025     */
026    public class LiferaySearchEngine implements SearchEngine {
027    
028            public void addToIndex(Topic arg0) {
029            }
030    
031            public void addToIndex(Topic topic, List<String> links) {
032            }
033    
034            public void commit(String arg0) {
035            }
036    
037            public void deleteFromIndex(Topic topic) {
038            }
039    
040            public List<SearchResultEntry> findLinkedTo(
041                    String virtualWiki, String topicName) {
042    
043                    return null;
044            }
045    
046            public List<SearchResultEntry> findResults(
047                    String virtualWiki, String text) {
048    
049                    return null;
050            }
051    
052            public void refreshIndex() {
053            }
054    
055            public void setAutoCommit(boolean autoCommit) {
056            }
057    
058            public void shutdown() {
059            }
060    
061            public void updateInIndex(Topic topic) {
062            }
063    
064            public void updateInIndex(Topic topic, List<String> links) {
065            }
066    
067    }