org.xcmis.search.lucene
Class LuceneQueryableIndexStorage
java.lang.Object
org.xcmis.search.content.interceptors.AbstractVisitor
org.xcmis.search.content.interceptors.CommandInterceptor
org.xcmis.search.content.interceptors.QueryableIndexStorage
org.xcmis.search.lucene.AbstractLuceneQueryableIndexStorage
org.xcmis.search.lucene.LuceneQueryableIndexStorage
- All Implemented Interfaces:
- Visitor, Startable
public class LuceneQueryableIndexStorage
- extends AbstractLuceneQueryableIndexStorage
Lucene persisted implementation of QueryableIndexStorage.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LuceneQueryableIndexStorage
public LuceneQueryableIndexStorage(SearchServiceConfiguration serviceConfuguration)
throws IndexException
- Parameters:
indexConfuguration -
- Throws:
IndexException
IndexException
start
public void start()
- Specified by:
start in interface Startable- Overrides:
start in class CommandInterceptor
- See Also:
CommandInterceptor.start()
stop
public void stop()
- Specified by:
stop in interface Startable- Overrides:
stop in class CommandInterceptor
- See Also:
CommandInterceptor.stop()
getIndexReader
protected org.apache.lucene.index.IndexReader getIndexReader()
throws IndexException
- Description copied from class:
AbstractLuceneQueryableIndexStorage
- Different lucene storage's should override this method.
- Specified by:
getIndexReader in class AbstractLuceneQueryableIndexStorage
- Throws:
IndexException- See Also:
AbstractLuceneQueryableIndexStorage.getIndexReader()
getDocument
protected org.apache.lucene.document.Document getDocument(String uuid,
org.apache.lucene.index.IndexReader reader)
throws IndexException
- Throws:
IndexException
save
protected Object save(LuceneIndexTransaction indexTransaction)
throws IndexException,
IndexTransactionException
- Specified by:
save in class AbstractLuceneQueryableIndexStorage
- Returns:
-
- Throws:
IndexTransactionException
IndexException- See Also:
AbstractLuceneQueryableIndexStorage.save(org.xcmis.search.lucene.index.LuceneIndexTransaction)
Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.