| java.lang.Object ru.emdev.EmForge.wiki.providers.searchprovider.LuceneSearchProviderEx
LuceneSearchProviderEx | public class LuceneSearchProviderEx implements SearchProvider(Code) | | Expands ability of "com.ecyrd.jspwiki.search.LuceneSearchProvider"(2.2.21)
in order to look up attachments content, processes name and tasks commentes
along with the searching the Wiki.
(Lucena source since 2.2.21)
author: spopov since: 0.20 |
LUCENE_ATTACHMENTS | final protected static String LUCENE_ATTACHMENTS(Code) | | |
LUCENE_AUTHOR | final protected static String LUCENE_AUTHOR(Code) | | |
LUCENE_OPTIMIZE_COUNT | final public static int LUCENE_OPTIMIZE_COUNT(Code) | | |
LUCENE_PAGE_CONTENTS | final protected static String LUCENE_PAGE_CONTENTS(Code) | | |
LUCENE_PAGE_NAME | final protected static String LUCENE_PAGE_NAME(Code) | | |
LUCENE_PROCESS_COMMENTS | final protected static String LUCENE_PROCESS_COMMENTS(Code) | | |
LUCENE_PROCESS_TITLE | final protected static String LUCENE_PROCESS_TITLE(Code) | | |
PROP_LUCENE_ANALYZER | final public static String PROP_LUCENE_ANALYZER(Code) | | Which analyzer to use. Default is StandardAnalyzer.
|
log | final protected Log log(Code) | | |
doFullLuceneReindex | protected void doFullLuceneReindex() throws IOException(Code) | | Performs a full Lucene reindex, if necessary.
throws: IOException - |
getEngine | protected WikiEngine getEngine()(Code) | | Returns the handling engine.
|
luceneIndexPage | protected void luceneIndexPage(WikiPage page, String text, IndexWriter writer) throws IOException(Code) | | |
luceneIndexProcessData | protected void luceneIndexProcessData(WikiPage i_page, Document io_doc) throws IOException(Code) | | index process data (title, comments) if page represents a description
Parameters: wiki - Parameters: io_doc - |
pageRemoved | public void pageRemoved(WikiPage page)(Code) | | |
reindexPage | public void reindexPage(WikiPage page)(Code) | | Adds a page-text pair to the lucene update queue. Safe to call always
|
setTxManager | public void setTxManager(PlatformTransactionManager i_txManager)(Code) | | |
setUserPassword | public void setUserPassword(String userPassword)(Code) | | |
updateLuceneIndex | protected synchronized void updateLuceneIndex(WikiPage page, String text)(Code) | | |
|
|