public class ADMLuceneIndexerAndSearcherFactory extends AbstractLuceneIndexerAndSearcherFactory implements SupportsBackgroundIndexing
AbstractLuceneIndexerAndSearcherFactory.LuceneIndexBackupComponent, AbstractLuceneIndexerAndSearcherFactory.LuceneIndexBackupJob
LuceneIndexerAndSearcher.ReadOnlyWork<Result>
Modifier and Type | Field and Description |
---|---|
protected AspectIndexFilter |
aspectIndexFilter |
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 |
protected TypeIndexFilter |
typeIndexFilter |
tenantService
TMENDRSCAN, TMFAIL, TMJOIN, TMNOFLAGS, TMONEPHASE, TMRESUME, TMSTARTRSCAN, TMSUCCESS, TMSUSPEND, XA_OK, XA_RDONLY
Constructor and Description |
---|
ADMLuceneIndexerAndSearcherFactory() |
Modifier and Type | Method and Description |
---|---|
protected LuceneIndexer |
createIndexer(org.alfresco.service.cmr.repository.StoreRef storeRef,
String deltaId)
Encapsulate creating an indexer
|
protected List<org.alfresco.service.cmr.repository.StoreRef> |
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 |
setAspectIndexFilter(AspectIndexFilter aspectIndexFilter)
Setter of the aspectIndexFilter
|
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)
Set the transaction service
|
void |
setTransformerDebug(TransformerDebug transformerDebug)
Sets the transformer debug.
|
void |
setTypeIndexFilter(TypeIndexFilter typeIndexFilter)
Setter of the typeIndexFilter
|
commit, commit, deleteDirectory, destroy, doReadOnly, end, flush, forget, getApplicationContext, getBulkLoader, getCommitLockTimeout, getDefaultMLIndexAnalysisMode, getDefaultMLSearchAnalysisMode, getFairLocking, getIndexer, getIndexerBatchSize, getIndexerMaxFieldLength, getIndexRootLocation, getLockDirectory, getMaxDocIdCacheSize, getMaxDocsForInMemoryIndex, getMaxDocsForInMemoryMerge, getMaxDocumentCacheSize, getMaxIsCategoryCacheSize, getMaxLinkAspectCacheSize, getMaxParentCacheSize, getMaxPathCacheSize, getMaxRamInMbForInMemoryIndex, getMaxRamInMbForInMemoryMerge, getMaxRawResultSetSizeForInMemorySort, getMaxTransformationTime, getMaxTypeCacheSize, getMergerMaxBufferedDocs, getMergerMaxMergeDocs, getMergerMergeFactor, getMergerRamBufferSizeMb, getMergerTargetIndexCount, getMergerTargetOverlayCount, getMergerTargetOverlaysBlockingFactor, getPostSortDateTime, getQueryLanguage, getQueryMaxClauses, getQueryRegister, getSearcher, getTermIndexInterval, getThreadPoolExecutor, getTransactionTimeout, getUseInMemorySort, getUseNioMemoryMapping, getWriteLockTimeout, getWriterMaxBufferedDocs, getWriterMaxMergeDocs, getWriterMergeFactor, getWriterRamBufferSizeMb, isCacheEnabled, isContentIndexingEnabled, isSameRM, main, prepare, prepare, recover, rollback, rollback, setApplicationContext, setBulkLoader, setCacheEnabled, setCommitLockTimeout, setContentIndexingEnabled, setDefaultMLIndexAnalysisMode, setDefaultMLSearchAnalysisMode, setFairLocking, setIndexerBatchSize, setIndexerMaxFieldLength, setIndexRootLocation, setLockDirectory, setLockPollInterval, setMaxAtomicTransformationTime, setMaxDocIdCacheSize, setMaxDocsForInMemoryIndex, setMaxDocsForInMemoryMerge, setMaxDocumentCacheSize, setMaxIsCategoryCacheSize, setMaxLinkAspectCacheSize, setMaxParentCacheSize, setMaxPathCacheSize, setMaxRamInMbForInMemoryIndex, setMaxRamInMbForInMemoryMerge, setMaxRawResultSetSizeForInMemorySort, setMaxTypeCacheSize, setMergerMaxBufferedDocs, setMergerMaxMergeDocs, setMergerMergeFactor, setMergerRamBufferSizeMb, setMergerTargetIndexCount, setMergerTargetOverlayCount, setMergerTargetOverlaysBlockingFactor, setPostSortDateTime, setQueryMaxClauses, setQueryRegister, setTenantService, setTermIndexInterval, setThreadPoolExecutor, setTransactionTimeout, setUseInMemorySort, setUseNioMemoryMapping, setWriteLockTimeout, setWriterMaxBufferedDocs, setWriterMaxMergeDocs, setWriterMergeFactor, setWriterRamBufferSizeMb, start
getQueryLanguages, registerQueryLanguage
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getQueryLanguages, registerQueryLanguage
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
protected TypeIndexFilter typeIndexFilter
protected AspectIndexFilter aspectIndexFilter
public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
public void setNameSpaceService(org.alfresco.service.namespace.NamespaceService nameSpaceService)
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
public void setFullTextSearchIndexer(FullTextSearchIndexer fullTextSearchIndexer)
SupportsBackgroundIndexing
setFullTextSearchIndexer
in interface SupportsBackgroundIndexing
fullTextSearchIndexer
- FullTextSearchIndexerpublic void setContentService(ContentService contentService)
public void setTransformerDebug(TransformerDebug transformerDebug)
transformerDebug
- TransformerDebugpublic void setTransactionService(TransactionService transactionService)
public void setTypeIndexFilter(TypeIndexFilter typeIndexFilter)
typeIndexFilter
- public void setAspectIndexFilter(AspectIndexFilter aspectIndexFilter)
aspectIndexFilter
- protected LuceneIndexer createIndexer(org.alfresco.service.cmr.repository.StoreRef storeRef, String deltaId)
AbstractLuceneIndexerAndSearcherFactory
createIndexer
in class AbstractLuceneIndexerAndSearcherFactory
storeRef
- StoreRefdeltaId
- Stringprotected LuceneSearcher getSearcher(org.alfresco.service.cmr.repository.StoreRef storeRef, LuceneIndexer indexer) throws SearcherException
AbstractLuceneIndexerAndSearcherFactory
getSearcher
in class AbstractLuceneIndexerAndSearcherFactory
storeRef
- StoreRefindexer
- LuceneIndexerSearcherException
protected org.alfresco.service.cmr.search.SearchService getNodeSearcher() throws SearcherException
AbstractLuceneIndexerAndSearcherFactory
getNodeSearcher
in class AbstractLuceneIndexerAndSearcherFactory
SearcherException
protected List<org.alfresco.service.cmr.repository.StoreRef> getAllStores()
getAllStores
in class AbstractLuceneIndexerAndSearcherFactory
Copyright © 2005–2017 Alfresco Software. All rights reserved.