org.alfresco.repo.search.impl.lucene.fts
Interface FullTextSearchIndexer

All Superinterfaces:
org.springframework.beans.factory.BeanFactoryAware
All Known Implementing Classes:
FullTextSearchIndexerImpl

public interface FullTextSearchIndexer
extends org.springframework.beans.factory.BeanFactoryAware

API for full text search indexing in the background


Method Summary
 void index()
          Do a chunk of outstanding indexing work
 void indexCompleted(org.alfresco.service.cmr.repository.StoreRef storeRef, int remaining, java.lang.Exception e)
          Call back to report state back to the indexer
 void pause()
          Pause indexing 9no back ground indexing until a resume is called)
 void requiresIndex(org.alfresco.service.cmr.repository.StoreRef storeRef)
          Mark a store as dirty, requiring a background index update to fix it up.
 void resume()
          Resume after a pause
 
Methods inherited from interface org.springframework.beans.factory.BeanFactoryAware
setBeanFactory
 

Method Detail

requiresIndex

void requiresIndex(org.alfresco.service.cmr.repository.StoreRef storeRef)
Mark a store as dirty, requiring a background index update to fix it up.

Parameters:
storeRef -

indexCompleted

void indexCompleted(org.alfresco.service.cmr.repository.StoreRef storeRef,
                    int remaining,
                    java.lang.Exception e)
Call back to report state back to the indexer

Parameters:
storeRef -
remaining -
e -

pause

void pause()
           throws java.lang.InterruptedException
Pause indexing 9no back ground indexing until a resume is called)

Throws:
java.lang.InterruptedException

resume

void resume()
            throws java.lang.InterruptedException
Resume after a pause

Throws:
java.lang.InterruptedException

index

void index()
Do a chunk of outstanding indexing work



Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.