org.xcmis.search.lucene.index
Class PersistentIndexDataKeeperFactory
java.lang.Object
org.xcmis.search.lucene.index.LuceneIndexDataKeeperFactory
org.xcmis.search.lucene.index.PersistentIndexDataKeeperFactory
- All Implemented Interfaces:
- IndexDataKeeperFactory<org.apache.lucene.document.Document,org.apache.lucene.analysis.Analyzer,org.apache.lucene.index.IndexReader>
public class PersistentIndexDataKeeperFactory
- extends LuceneIndexDataKeeperFactory
Created by The eXo Platform SAS.
- Version:
- $Id: PersistentIndexDataKeeperFactory.java 2 2010-02-04 17:21:49Z andrew00x $
- Author:
- Sergey Kabashnyuk
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersistentIndexDataKeeperFactory
public PersistentIndexDataKeeperFactory(IndexConfiguration indexConfuguration)
throws IndexException,
IndexConfigurationException
- Throws:
IndexException
IndexConfigurationException
createNewIndexDataKeeper
public LuceneIndexDataManager createNewIndexDataKeeper(IndexTransaction<org.apache.lucene.document.Document> changes)
throws IndexException
-
- Returns:
- new index data keeper.
- Throws:
IndexException
getIndexDir
public File getIndexDir()
init
public List<PersistedIndex> init()
throws IndexException
- Throws:
IndexException
merge
public LuceneIndexDataManager merge(Collection<LuceneIndexDataManager> chains)
throws IndexException
- Merge two data keepers.
- Returns:
- result index data keeper.
- Throws:
IndexException
Copyright © 2011 eXo Platform SAS. All Rights Reserved.