| Constructor and Description |
|---|
NoIndexIndexer() |
| Modifier and Type | Method and Description |
|---|---|
void |
createChildRelationship(ChildAssociationRef relationshipRef)
Create a refernce link between a parent and child.
|
void |
createNode(ChildAssociationRef relationshipRef)
Create an index entry when a new node is created.
|
void |
deleteChildRelationship(ChildAssociationRef relationshipRef)
Delete a relationship between a parent and child.
|
void |
deleteIndex(StoreRef storeRef)
Delete the index for a store
|
void |
deleteNode(ChildAssociationRef relationshipRef)
Delete a node entry from an index.
|
void |
detectNodeChanges(NodeRef nodeRef,
SearchService searcher,
Collection<ChildAssociationRef> addedParents,
Collection<ChildAssociationRef> deletedParents,
Collection<ChildAssociationRef> createdNodes,
Collection<NodeRef> updatedNodes)
Does a database vs index comparison for the given created/updated/renamed/referenced nodeRef in order to
determine the set of indexing operations required
|
void |
flushPending() |
void |
setReadThrough(boolean isReadThrough)
Activates 'read through' behaviour for this indexer.
|
void |
updateChildRelationship(ChildAssociationRef relationshipBeforeRef,
ChildAssociationRef relationshipAfterRef)
Alter the relationship between parent and child nodes in the index.
|
void |
updateNode(NodeRef nodeRef)
Update an index entry due to property changes on a node.
|
public void setReadThrough(boolean isReadThrough)
IndexersetReadThrough in interface IndexerisReadThrough - booleanpublic void createNode(ChildAssociationRef relationshipRef)
IndexercreateNode in interface IndexerrelationshipRef - ChildAssociationRefpublic void updateNode(NodeRef nodeRef)
IndexerupdateNode in interface IndexernodeRef - NodeRefpublic void deleteNode(ChildAssociationRef relationshipRef)
IndexerdeleteNode in interface IndexerrelationshipRef - ChildAssociationRefpublic void createChildRelationship(ChildAssociationRef relationshipRef)
IndexercreateChildRelationship in interface IndexerrelationshipRef - ChildAssociationRefpublic void updateChildRelationship(ChildAssociationRef relationshipBeforeRef, ChildAssociationRef relationshipAfterRef)
IndexerupdateChildRelationship in interface IndexerrelationshipBeforeRef - ChildAssociationRefrelationshipAfterRef - ChildAssociationRefpublic void deleteChildRelationship(ChildAssociationRef relationshipRef)
IndexerdeleteChildRelationship in interface IndexerrelationshipRef - ChildAssociationRefpublic void detectNodeChanges(NodeRef nodeRef, SearchService searcher, Collection<ChildAssociationRef> addedParents, Collection<ChildAssociationRef> deletedParents, Collection<ChildAssociationRef> createdNodes, Collection<NodeRef> updatedNodes)
IndexerdetectNodeChanges in interface IndexernodeRef - the nodeRef to processsearcher - searcher to query the indexesaddedParents - set to add new secondary parent associations todeletedParents - set to add removed secondary parent associations tocreatedNodes - set to add created nodes toupdatedNodes - set to add updated nodes topublic void deleteIndex(StoreRef storeRef)
IndexerdeleteIndex in interface IndexerstoreRef - StoreRefpublic void flushPending()
flushPending in interface IndexerCopyright © 2005–2021 Alfresco Software. All rights reserved.