org.alfresco.repo.search.impl.noindex
Class NoIndexIndexerAndSearcherFactory

java.lang.Object
  extended by org.alfresco.repo.search.impl.lucene.AbstractIndexerAndSearcher
      extended by org.alfresco.repo.search.impl.noindex.NoIndexIndexerAndSearcherFactory
All Implemented Interfaces:
IndexerAndSearcher

public class NoIndexIndexerAndSearcherFactory
extends AbstractIndexerAndSearcher


Constructor Summary
NoIndexIndexerAndSearcherFactory()
           
 
Method Summary
 void flush()
          Do any indexing that may be pending on behalf of the current transaction.
 org.alfresco.service.cmr.dictionary.DictionaryService getDictionaryService()
           
 Indexer getIndexer(org.alfresco.service.cmr.repository.StoreRef storeRef)
          Get an indexer for a store
 org.alfresco.service.cmr.repository.NodeService getNodeService()
           
 org.alfresco.service.cmr.search.SearchService getSearcher(org.alfresco.service.cmr.repository.StoreRef storeRef, boolean searchDelta)
          Get a searcher for a store
 void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
           
 void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
           
 
Methods inherited from class org.alfresco.repo.search.impl.lucene.AbstractIndexerAndSearcher
getQueryLanguages, registerQueryLanguage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoIndexIndexerAndSearcherFactory

public NoIndexIndexerAndSearcherFactory()
Method Detail

getDictionaryService

public org.alfresco.service.cmr.dictionary.DictionaryService getDictionaryService()

setDictionaryService

public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)

getNodeService

public org.alfresco.service.cmr.repository.NodeService getNodeService()

setNodeService

public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)

getIndexer

public Indexer getIndexer(org.alfresco.service.cmr.repository.StoreRef storeRef)
                   throws IndexerException
Description copied from interface: IndexerAndSearcher
Get an indexer for a store

Returns:
Throws:
IndexerException

getSearcher

public org.alfresco.service.cmr.search.SearchService getSearcher(org.alfresco.service.cmr.repository.StoreRef storeRef,
                                                                 boolean searchDelta)
                                                          throws SearcherException
Description copied from interface: IndexerAndSearcher
Get a searcher for a store

searchDelta - - serach the in progress transaction as well as the main index (this is ignored for searches that do full text)
Returns:
Throws:
SearcherException

flush

public void flush()
Description copied from interface: IndexerAndSearcher
Do any indexing that may be pending on behalf of the current transaction.



Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.