Restructure before WCM indexer impl.

Fix and retest 2.1 test issues.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5569 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Andrew Hind
2007-04-27 14:39:33 +00:00
parent e6b0bb96fb
commit fc2ebe47d0
10 changed files with 1034 additions and 953 deletions

View File

@@ -26,10 +26,27 @@ package org.alfresco.repo.search;
import org.alfresco.repo.search.impl.lucene.fts.FTSIndexerAware;
/**
* Add support for FTS indexing
*
* @author andyh
*
*/
public interface IndexerSPI extends Indexer
{
/**
* Register call back handler when the indexing chunk is done
*
* @param callBack
*/
public void registerCallBack(FTSIndexerAware callBack);
/**
* Peform a chunk of background FTS (and other non atomic property) indexing
*
* @param i
* @return - the number of docs updates
*/
public int updateFullTextSearch(int i);
}