|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.search.impl.lucene.AbstractIndexerAndSearcher
org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory
org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerAndSearcherFactory
public class ADMLuceneIndexerAndSearcherFactory
Factory for ADM indxers and searchers
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory |
---|
AbstractLuceneIndexerAndSearcherFactory.LuceneIndexBackupComponent, AbstractLuceneIndexerAndSearcherFactory.LuceneIndexBackupJob |
Nested classes/interfaces inherited from interface org.alfresco.repo.search.impl.lucene.LuceneIndexerAndSearcher |
---|
LuceneIndexerAndSearcher.ReadOnlyWork |
Field Summary | |
---|---|
protected ContentService |
contentService
|
protected org.alfresco.service.cmr.dictionary.DictionaryService |
dictionaryService
|
protected FullTextSearchIndexer |
fullTextSearchIndexer
|
protected org.alfresco.service.cmr.repository.NodeService |
nodeService
|
protected TransactionService |
transactionService
|
Fields inherited from class org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory |
---|
tenantService |
Fields inherited from interface javax.transaction.xa.XAResource |
---|
TMENDRSCAN, TMFAIL, TMJOIN, TMNOFLAGS, TMONEPHASE, TMRESUME, TMSTARTRSCAN, TMSUCCESS, TMSUSPEND, XA_OK, XA_RDONLY |
Constructor Summary | |
---|---|
ADMLuceneIndexerAndSearcherFactory()
|
Method Summary | |
---|---|
protected LuceneIndexer |
createIndexer(org.alfresco.service.cmr.repository.StoreRef storeRef,
java.lang.String deltaId)
Encapsulate creating an indexer |
protected java.util.List |
getAllStores()
|
protected org.alfresco.service.cmr.search.SearchService |
getNodeSearcher()
Get node-based searcher (for "selectNodes / selectProperties") |
protected LuceneSearcher |
getSearcher(org.alfresco.service.cmr.repository.StoreRef storeRef,
LuceneIndexer indexer)
Get a searcher over the index and the current delta |
void |
setContentService(ContentService contentService)
Set the content service |
void |
setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
Set the dictinary service |
void |
setFullTextSearchIndexer(FullTextSearchIndexer fullTextSearchIndexer)
Set the back ground indexer manager |
void |
setNameSpaceService(org.alfresco.service.namespace.NamespaceService nameSpaceService)
Set the name space service |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Set the node service |
void |
setTransactionService(TransactionService transactionService)
|
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 |
Methods inherited from interface org.alfresco.repo.search.IndexerAndSearcher |
---|
getQueryLanguages, registerQueryLanguage |
Field Detail |
---|
protected org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService
protected org.alfresco.service.cmr.repository.NodeService nodeService
protected FullTextSearchIndexer fullTextSearchIndexer
protected ContentService contentService
protected TransactionService transactionService
Constructor Detail |
---|
public ADMLuceneIndexerAndSearcherFactory()
Method Detail |
---|
public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
dictionaryService
- public void setNameSpaceService(org.alfresco.service.namespace.NamespaceService nameSpaceService)
nameSpaceService
- public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService
- public void setFullTextSearchIndexer(FullTextSearchIndexer fullTextSearchIndexer)
SupportsBackgroundIndexing
setFullTextSearchIndexer
in interface SupportsBackgroundIndexing
public void setContentService(ContentService contentService)
contentService
- public void setTransactionService(TransactionService transactionService)
protected LuceneIndexer createIndexer(org.alfresco.service.cmr.repository.StoreRef storeRef, java.lang.String deltaId)
AbstractLuceneIndexerAndSearcherFactory
createIndexer
in class AbstractLuceneIndexerAndSearcherFactory
protected LuceneSearcher getSearcher(org.alfresco.service.cmr.repository.StoreRef storeRef, LuceneIndexer indexer) throws SearcherException
AbstractLuceneIndexerAndSearcherFactory
getSearcher
in class AbstractLuceneIndexerAndSearcherFactory
SearcherException
protected org.alfresco.service.cmr.search.SearchService getNodeSearcher() throws SearcherException
AbstractLuceneIndexerAndSearcherFactory
getNodeSearcher
in class AbstractLuceneIndexerAndSearcherFactory
SearcherException
protected java.util.List getAllStores()
getAllStores
in class AbstractLuceneIndexerAndSearcherFactory
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |