org.xcmis.search.lucene
Class InMemoryLuceneQueryableIndexStorage

java.lang.Object
  extended by org.xcmis.search.content.interceptors.AbstractVisitor
      extended by org.xcmis.search.content.interceptors.CommandInterceptor
          extended by org.xcmis.search.content.interceptors.QueryableIndexStorage
              extended by org.xcmis.search.lucene.AbstractLuceneQueryableIndexStorage
                  extended by org.xcmis.search.lucene.InMemoryLuceneQueryableIndexStorage
All Implemented Interfaces:
Visitor, Startable

public class InMemoryLuceneQueryableIndexStorage
extends AbstractLuceneQueryableIndexStorage

Version:
$Id: InMemoryLuceneQueryableIndexStorage.java 34360 2009-07-22 23:58:59Z aheritier $
Author:
Sergey Kabashnyuk

Field Summary
 
Fields inherited from class org.xcmis.search.lucene.AbstractLuceneQueryableIndexStorage
indexConfuguration, MAX_FETCH_SIZE, nameConverter, nodeIndexer, pathSplitter, tableResolver
 
Fields inherited from class org.xcmis.search.content.interceptors.QueryableIndexStorage
serviceConfuguration
 
Constructor Summary
InMemoryLuceneQueryableIndexStorage(SearchServiceConfiguration serviceConfuguration)
           
 
Method Summary
protected  org.apache.lucene.index.IndexReader getIndexReader()
          Different lucene storage's should override this method.
protected  Object save(LuceneIndexTransaction indexTransaction)
           
 
Methods inherited from class org.xcmis.search.lucene.AbstractLuceneQueryableIndexStorage
getConstrainQuery, visitExecuteSelectorCommand, visitModifyIndexCommand
 
Methods inherited from class org.xcmis.search.content.interceptors.CommandInterceptor
getNext, handleDefault, hasNext, invokeNextInterceptor, setNext, start, stop
 
Methods inherited from class org.xcmis.search.content.interceptors.AbstractVisitor
visitChildEntriesCommand, visitGetContentEntryCommand, visitGetUnfiledEntriesCommand, visitProcessQueryCommand
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InMemoryLuceneQueryableIndexStorage

public InMemoryLuceneQueryableIndexStorage(SearchServiceConfiguration serviceConfuguration)
                                    throws IndexException
Parameters:
serviceConfuguration -
Throws:
IndexException
Method Detail

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()

save

protected Object save(LuceneIndexTransaction indexTransaction)
               throws IndexException,
                      IndexTransactionException
Specified by:
save in class AbstractLuceneQueryableIndexStorage
Returns:
Throws:
IndexException
IndexTransactionException
See Also:
AbstractLuceneQueryableIndexStorage.save(org.xcmis.search.lucene.index.LuceneIndexTransaction)


Copyright © 2011 eXo Platform SAS. All Rights Reserved.