|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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.WithAllWriteLocksWork |
Field Summary | |
---|---|
protected ContentService |
contentService
|
protected DictionaryService |
dictionaryService
|
protected FullTextSearchIndexer |
fullTextSearchIndexer
|
protected NodeService |
nodeService
|
Fields inherited from class org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory |
---|
queryLanguages, 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(StoreRef storeRef,
java.lang.String deltaId)
Encapsulate creating an indexer |
protected java.util.List |
getAllStores()
|
protected SearchService |
getNodeSearcher()
Get node-based searcher (for "selectNodes / selectProperties") |
protected LuceneSearcher |
getSearcher(StoreRef storeRef,
LuceneIndexer indexer)
Get a searcher over the index and the current delta |
void |
setContentService(ContentService contentService)
Set the content service |
void |
setDictionaryService(DictionaryService dictionaryService)
Set the dictinary service |
void |
setFullTextSearchIndexer(FullTextSearchIndexer fullTextSearchIndexer)
Set the back ground indexer manager |
void |
setNameSpaceService(NamespaceService nameSpaceService)
Set the name space service |
void |
setNodeService(NodeService nodeService)
Set the node service |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected DictionaryService dictionaryService
protected NodeService nodeService
protected FullTextSearchIndexer fullTextSearchIndexer
protected ContentService contentService
Constructor Detail |
---|
public ADMLuceneIndexerAndSearcherFactory()
Method Detail |
---|
public void setDictionaryService(DictionaryService dictionaryService)
dictionaryService
- public void setNameSpaceService(NamespaceService nameSpaceService)
nameSpaceService
- public void setNodeService(NodeService nodeService)
nodeService
- public void setFullTextSearchIndexer(FullTextSearchIndexer fullTextSearchIndexer)
SupportsBackgroundIndexing
setFullTextSearchIndexer
in interface SupportsBackgroundIndexing
public void setContentService(ContentService contentService)
contentService
- protected LuceneIndexer createIndexer(StoreRef storeRef, java.lang.String deltaId)
AbstractLuceneIndexerAndSearcherFactory
createIndexer
in class AbstractLuceneIndexerAndSearcherFactory
protected LuceneSearcher getSearcher(StoreRef storeRef, LuceneIndexer indexer) throws SearcherException
AbstractLuceneIndexerAndSearcherFactory
getSearcher
in class AbstractLuceneIndexerAndSearcherFactory
SearcherException
protected 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 |