| java.lang.Object vqwiki.AbstractSearchEngine vqwiki.db.DatabaseSearchEngine
DatabaseSearchEngine | public class DatabaseSearchEngine extends AbstractSearchEngine (Code) | | Search-Engine for the database.
author: $Author: studer $ version: $Revision: 607 $ version: Additions for Lucene by Tobias Schulz-Hess (sourceforge@schulz-hess.de) |
STATEMENT_ALL_NAMES | final protected static String STATEMENT_ALL_NAMES(Code) | | SQL-Statement to get a name
|
getAllTopicNames | public Collection getAllTopicNames(String virtualWiki) throws Exception(Code) | | Get a collection of all topic names.
Parameters: virtualWiki - The virtual wiki, for all topic names A Collection of String, containing all topic names for this virtual wiki throws: Exception - If something goes wrong |
getInstance | public static synchronized DatabaseSearchEngine getInstance() throws Exception(Code) | | Get the one and only existing instance of this class
An Instance to this class throws: Exception - If something really goes wrong |
Methods inherited from vqwiki.AbstractSearchEngine | public synchronized void add(String virtualWiki, String topic, String contents) throws IOException(Code)(Java Doc) protected Document createDocument(String currentWiki, String topic) throws Exception(Code)(Java Doc) protected Collection doSearch(String virtualWiki, String text, boolean caseInsensitiveSearch, boolean doTextBeforeAndAfterParsing)(Code)(Java Doc) public Collection find(String virtualWiki, String text, boolean doTextBeforeAndAfterParsing)(Code)(Java Doc) public Collection findLinkedTo(String virtualWiki, String topicName) throws Exception(Code)(Java Doc) public Collection findMultiple(String virtualWiki, String text, boolean fuzzy)(Code)(Java Doc) abstract protected String getFilename(String currentWiki, String topic)(Code)(Java Doc) protected Directory getIndexDirectory(File indexFile, boolean create) throws IOException(Code)(Java Doc) protected Directory getIndexDirectory(String indexFilename, boolean create) throws IOException(Code)(Java Doc) public String getSearchIndexPath(String virtualWiki)(Code)(Java Doc) public void indexText(String virtualWiki, String topic, String text) throws IOException(Code)(Java Doc) protected void initSearchEngine(ServletContext ctx) throws Exception(Code)(Java Doc) protected void initSearchEngine(String iP) throws Exception(Code)(Java Doc) public synchronized void rebuild() throws Exception(Code)(Java Doc) public void refreshIndex() throws Exception(Code)(Java Doc)
|
|
|