|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.search.impl.lucene.fts.FullTextSearchIndexerImpl
public class FullTextSearchIndexerImpl
Background index update scheduler
| Constructor Summary | |
|---|---|
FullTextSearchIndexerImpl()
|
|
| Method Summary | |
|---|---|
void |
index()
Do a chunk of outstanding indexing work |
void |
indexCompleted(StoreRef storeRef,
int remaining,
java.lang.Exception e)
Call back used by the background indexer |
static void |
main(java.lang.String[] args)
|
void |
pause()
Pause indexing 9no back ground indexing until a resume is called) |
void |
requiresIndex(StoreRef storeRef)
Mark a store as dirty, requiring a background index update to fix it up. |
void |
resume()
Resume after a pause |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
|
void |
setIndexerAndSearcherFactory(IndexerAndSearcher indexerAndSearcherFactory)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FullTextSearchIndexerImpl()
| Method Detail |
|---|
public void requiresIndex(StoreRef storeRef)
FullTextSearchIndexer
requiresIndex in interface FullTextSearchIndexer
public void indexCompleted(StoreRef storeRef,
int remaining,
java.lang.Exception e)
FTSIndexerAware
indexCompleted in interface FTSIndexerAwareindexCompleted in interface FullTextSearchIndexer
public void pause()
throws java.lang.InterruptedException
FullTextSearchIndexer
pause in interface FullTextSearchIndexerjava.lang.InterruptedException
public void resume()
throws java.lang.InterruptedException
FullTextSearchIndexer
resume in interface FullTextSearchIndexerjava.lang.InterruptedExceptionpublic void index()
FullTextSearchIndexer
index in interface FullTextSearchIndexerpublic void setIndexerAndSearcherFactory(IndexerAndSearcher indexerAndSearcherFactory)
indexerAndSearcherFactory -
public static void main(java.lang.String[] args)
throws java.lang.InterruptedException
args -
java.lang.InterruptedException
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
throws org.springframework.beans.BeansException
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAwareorg.springframework.beans.BeansException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||