org.compass.core.lucene.engine.transaction.support
Class AbstractSearchTransactionProcessor

java.lang.Object
  extended by org.compass.core.lucene.engine.transaction.support.AbstractTransactionProcessor
      extended by org.compass.core.lucene.engine.transaction.support.AbstractSearchTransactionProcessor
All Implemented Interfaces:
TransactionProcessor
Direct Known Subclasses:
AbstractConcurrentTransactionProcessor, AbstractJobBasedTransactionProcessor, MTTransactionProcessor, SearchTransactionProcessor

public abstract class AbstractSearchTransactionProcessor
extends AbstractTransactionProcessor

A base class that does all the search based operations without visibility for on going changes within the transaction.

Author:
kimchy

Field Summary
 
Fields inherited from class org.compass.core.lucene.engine.transaction.support.AbstractTransactionProcessor
indexManager, logger, mapping, searchEngine, searchEngineFactory
 
Constructor Summary
protected AbstractSearchTransactionProcessor(org.apache.commons.logging.Log logger, LuceneSearchEngine searchEngine)
           
 
Method Summary
protected  LuceneSearchEngineHits performFind(LuceneSearchEngineQuery query)
           
protected  Resource[] performGet(ResourceKey resourceKey)
           
protected  LuceneSearchEngineInternalSearch performInternalSearch(String[] subIndexes, String[] aliases)
           
 
Methods inherited from class org.compass.core.lucene.engine.transaction.support.AbstractTransactionProcessor
buildInternalSearch, findByQuery, getResourceMapping, getSettingName, isInvalidateCacheOnCommit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.compass.core.lucene.engine.transaction.TransactionProcessor
begin, commit, create, delete, delete, find, flush, flushCommit, get, getName, internalSearch, prepare, rollback, update
 

Constructor Detail

AbstractSearchTransactionProcessor

protected AbstractSearchTransactionProcessor(org.apache.commons.logging.Log logger,
                                             LuceneSearchEngine searchEngine)
Method Detail

performFind

protected LuceneSearchEngineHits performFind(LuceneSearchEngineQuery query)
                                      throws SearchEngineException
Throws:
SearchEngineException

performInternalSearch

protected LuceneSearchEngineInternalSearch performInternalSearch(String[] subIndexes,
                                                                 String[] aliases)
                                                          throws SearchEngineException
Throws:
SearchEngineException

performGet

protected Resource[] performGet(ResourceKey resourceKey)
                         throws SearchEngineException
Throws:
SearchEngineException


Copyright (c) 2004-2009 The Compass Project.