Package | Description |
---|---|
org.alfresco.repo.search.impl.lucene |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractLuceneBase.closeDeltaReader()
Close the on file reader for the delta if it is open
|
protected void |
AbstractLuceneBase.closeDeltaWriter()
Close the on disk delta writer
|
void |
AbstractLuceneIndexerImpl.commit()
Commit this index
|
void |
ADMLuceneIndexerImpl.createChildRelationship(org.alfresco.service.cmr.repository.ChildAssociationRef relationshipRef) |
void |
ADMLuceneNoActionIndexerImpl.createChildRelationship(org.alfresco.service.cmr.repository.ChildAssociationRef relationshipRef) |
void |
ADMLuceneIndexerImpl.createNode(org.alfresco.service.cmr.repository.ChildAssociationRef relationshipRef) |
void |
ADMLuceneNoActionIndexerImpl.createNode(org.alfresco.service.cmr.repository.ChildAssociationRef relationshipRef) |
protected void |
AbstractLuceneIndexerImpl.delete(T ref) |
void |
ADMLuceneIndexerImpl.deleteChildRelationship(org.alfresco.service.cmr.repository.ChildAssociationRef relationshipRef) |
void |
ADMLuceneNoActionIndexerImpl.deleteChildRelationship(org.alfresco.service.cmr.repository.ChildAssociationRef relationshipRef) |
protected static Set<String> |
AbstractLuceneIndexerImpl.deleteContainerAndBelow(String nodeRef,
org.apache.lucene.index.IndexReader reader,
boolean delete,
boolean cascade) |
protected Set<String> |
ADMLuceneIndexerImpl.deleteImpl(String nodeRef,
org.apache.lucene.index.IndexReader deltaReader,
org.apache.lucene.index.IndexReader mainReader) |
protected boolean |
ADMLuceneIndexerImpl.deleteLeafOnly(String nodeRef,
org.apache.lucene.index.IndexReader reader,
boolean delete) |
void |
ADMLuceneIndexerImpl.deleteNode(org.alfresco.service.cmr.repository.ChildAssociationRef relationshipRef) |
void |
ADMLuceneNoActionIndexerImpl.deleteNode(org.alfresco.service.cmr.repository.ChildAssociationRef relationshipRef) |
protected static Set<String> |
AbstractLuceneIndexerImpl.deletePrimary(Collection<String> nodeRefs,
org.apache.lucene.index.IndexReader reader,
boolean delete) |
protected static Set<String> |
AbstractLuceneIndexerImpl.deleteReference(Collection<String> nodeRefs,
org.apache.lucene.index.IndexReader reader,
boolean delete) |
void |
ADMLuceneIndexerImpl.detectNodeChanges(org.alfresco.service.cmr.repository.NodeRef nodeRef,
org.alfresco.service.cmr.search.SearchService searcher,
Collection<org.alfresco.service.cmr.repository.ChildAssociationRef> addedParents,
Collection<org.alfresco.service.cmr.repository.ChildAssociationRef> deletedParents,
Collection<org.alfresco.service.cmr.repository.ChildAssociationRef> createdNodes,
Collection<org.alfresco.service.cmr.repository.NodeRef> updatedNodes) |
void |
ADMLuceneIndexerImpl.flushPending() |
protected org.apache.lucene.index.IndexReader |
AbstractLuceneBase.getDeltaReader()
Get a reader for the on file portion of the delta
|
protected org.apache.lucene.index.IndexWriter |
AbstractLuceneBase.getDeltaWriter()
Get the on file writer for the delta
|
static ADMLuceneNoActionIndexerImpl |
ADMLuceneIndexerImpl.getNoActionIndexer(org.alfresco.service.cmr.repository.StoreRef storeRef,
String deltaId,
LuceneConfig config) |
protected org.apache.lucene.index.IndexReader |
AbstractLuceneBase.getReader() |
protected org.apache.lucene.search.IndexSearcher |
AbstractLuceneBase.getSearcher()
Get a searcher for the main index TODO: Split out support for the main index.
|
protected ClosingIndexSearcher |
AbstractLuceneBase.getSearcher(LuceneIndexer luceneIndexer) |
static ADMLuceneIndexerImpl |
ADMLuceneIndexerImpl.getUpdateIndexer(org.alfresco.service.cmr.repository.StoreRef storeRef,
String deltaId,
LuceneConfig config)
Generate an indexer
|
protected void |
AbstractLuceneIndexerImpl.index(T ref) |
protected void |
AbstractLuceneBase.initialise(org.alfresco.service.cmr.repository.StoreRef store,
String deltaId)
Initialise the configuration elements of the lucene store indexers and searchers.
|
int |
AbstractLuceneIndexerImpl.prepare()
Prepare to commit At the moment this makes sure we have all the locks TODO: This is not doing proper
serialisation against the index as would a data base transaction.
|
protected void |
AbstractLuceneIndexerImpl.reindex(T ref,
boolean cascadeReindexDirectories) |
void |
AbstractLuceneIndexerImpl.rollback()
Roll back the index changes (this just means they are never added)
|
protected void |
AbstractLuceneBase.saveDelta()
Save the in memory delta to the disk, make sure there is nothing held in memory
|
void |
ADMLuceneIndexerImpl.updateChildRelationship(org.alfresco.service.cmr.repository.ChildAssociationRef relationshipBeforeRef,
org.alfresco.service.cmr.repository.ChildAssociationRef relationshipAfterRef) |
void |
ADMLuceneNoActionIndexerImpl.updateChildRelationship(org.alfresco.service.cmr.repository.ChildAssociationRef relationshipBeforeRef,
org.alfresco.service.cmr.repository.ChildAssociationRef relationshipAfterRef) |
int |
ADMLuceneIndexerImpl.updateFullTextSearch(int size) |
void |
ADMLuceneIndexerImpl.updateNode(org.alfresco.service.cmr.repository.NodeRef nodeRef) |
void |
ADMLuceneNoActionIndexerImpl.updateNode(org.alfresco.service.cmr.repository.NodeRef nodeRef) |
Copyright © 2005–2017 Alfresco Software. All rights reserved.